[issue29092] Sync os.stat's doc and doc string

Xiang Zhang report at bugs.python.org
Wed Dec 28 03:42:26 EST 2016


New submission from Xiang Zhang:

The accepted types of parameter *path* are different between os.stat's doc and doc string.

In doc, it mentions Pathlike, string and file descriptor. In doc string, it mentions string, bytes and file descriptor. (3.5 only lack bytes in doc).

----------
assignee: docs at python
components: Documentation
files: doc-os-stat.patch
keywords: patch
messages: 284167
nosy: docs at python, xiang.zhang
priority: normal
severity: normal
stage: patch review
status: open
title: Sync os.stat's doc and doc string
versions: Python 3.5, Python 3.6, Python 3.7
Added file: http://bugs.python.org/file46061/doc-os-stat.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue29092>
_______________________________________


More information about the Python-bugs-list mailing list