mirror of
https://github.com/python/cpython.git
synced 2025-11-03 03:22:27 +00:00
Update docstrings to use te attribute names of the new structures returned
by stat and time functions. This closes SF patch #523271.
This commit is contained in:
parent
d70356729f
commit
193a3f6d37
2 changed files with 7 additions and 4 deletions
|
|
@ -1315,7 +1315,8 @@ posix_rmdir(PyObject *self, PyObject *args)
|
|||
|
||||
|
||||
static char posix_stat__doc__[] =
|
||||
"stat(path) -> (mode,ino,dev,nlink,uid,gid,size,atime,mtime,ctime)\n\
|
||||
"stat(path) -> (st_mode, st_ino, st_dev, st_nlink, st_uid, st_gid,\n\
|
||||
st_size, st_atime, st_mtime, st_ctime)\n\
|
||||
Perform a stat system call on the given path.";
|
||||
|
||||
static PyObject *
|
||||
|
|
@ -4056,7 +4057,8 @@ posix_wait(PyObject *self, PyObject *args)
|
|||
|
||||
|
||||
static char posix_lstat__doc__[] =
|
||||
"lstat(path) -> (mode,ino,dev,nlink,uid,gid,size,atime,mtime,ctime)\n\
|
||||
"lstat(path) -> (st_mode, st_ino, st_dev, st_nlink, st_uid, st_gid,\n\
|
||||
st_size, st_atime, st_mtime, st_ctime)\n\
|
||||
Like stat(path), but do not follow symbolic links.";
|
||||
|
||||
static PyObject *
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue