summaryrefslogtreecommitdiffstats
path: root/Modules/clinic
diff options
context:
space:
mode:
authorXiang Zhang <angwerzx@126.com>2017-01-22 05:04:17 (GMT)
committerXiang Zhang <angwerzx@126.com>2017-01-22 05:04:17 (GMT)
commit4459e009ed36331a976d605270bc0a81d091aa75 (patch)
treebf6e2bfbafba50d5b2801b6d630ad0d38b263177 /Modules/clinic
parenta203360836df8110b6e0e4b8a8ed551fa2f0df06 (diff)
parentd7d87ca9b0495f1dd04863fbb93226c0e0f7af5f (diff)
downloadcpython-4459e009ed36331a976d605270bc0a81d091aa75.zip
cpython-4459e009ed36331a976d605270bc0a81d091aa75.tar.gz
cpython-4459e009ed36331a976d605270bc0a81d091aa75.tar.bz2
Issue #29092: Sync os.stat's doc and docstring on path type.
Diffstat (limited to 'Modules/clinic')
-rw-r--r--Modules/clinic/posixmodule.c.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/Modules/clinic/posixmodule.c.h b/Modules/clinic/posixmodule.c.h
index f63a3be..0d3ce6e 100644
--- a/Modules/clinic/posixmodule.c.h
+++ b/Modules/clinic/posixmodule.c.h
@@ -9,7 +9,8 @@ PyDoc_STRVAR(os_stat__doc__,
"Perform a stat system call on the given path.\n"
"\n"
" path\n"
-" Path to be examined; can be string, bytes, or open-file-descriptor int.\n"
+" Path to be examined; can be string, bytes, path-like object or\n"
+" open-file-descriptor int.\n"
" dir_fd\n"
" If not None, it should be a file descriptor open to a directory,\n"
" and path should be a relative string; path will then be relative to\n"
@@ -6149,4 +6150,4 @@ exit:
#ifndef OS_GETRANDOM_METHODDEF
#define OS_GETRANDOM_METHODDEF
#endif /* !defined(OS_GETRANDOM_METHODDEF) */
-/*[clinic end generated code: output=50cfb7ebc44efb67 input=a9049054013a1b77]*/
+/*[clinic end generated code: output=455def991740915a input=a9049054013a1b77]*/