[Python-checkins] python/dist/src/Modules posixmodule.c,2.239,2.240
fdrake@users.sourceforge.net
fdrake@users.sourceforge.net
2002年6月20日 11:31:23 -0700
Update of /cvsroot/python/python/dist/src/Modules
In directory usw-pr-cvs1:/tmp/cvs-serv29463
Modified Files:
posixmodule.c
Log Message:
Clean up docstrings:
- Include a blank line between the signature line and the description
(Guido sez).
- Don't include "-> None" for API functions that always return None
because they don't have a meaningful return value.
Index: posixmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/posixmodule.c,v
retrieving revision 2.239
retrieving revision 2.240
diff -C2 -d -r2.239 -r2.240
*** posixmodule.c 18 Jun 2002 16:22:43 -0000 2.239
--- posixmodule.c 20 Jun 2002 18:31:21 -0000 2.240
***************
*** 523,527 ****
"stat_result: Result from stat or lstat.\n\n\
This object may be accessed either as a tuple of\n\
! (mode,ino,dev,nlink,uid,gid,size,atime,mtime,ctime)\n\
or via the attributes st_mode, st_ino, st_dev, st_nlink, st_uid, and so on.\n\
\n\
--- 523,527 ----
"stat_result: Result from stat or lstat.\n\n\
This object may be accessed either as a tuple of\n\
! (mode, ino, dev, nlink, uid, gid, size, atime, mtime, ctime)\n\
or via the attributes st_mode, st_ino, st_dev, st_nlink, st_uid, and so on.\n\
[...1313 lines suppressed...]
--- 6137,6141 ----
PyDoc_STRVAR(posix_sysconf__doc__,
! "sysconf(name) -> integer\n\n\
Return an integer-valued system configuration variable.");
***************
*** 6241,6245 ****
PyDoc_STRVAR(posix_abort__doc__,
! "abort() -> does not return!\n\
Abort the interpreter immediately. This 'dumps core' or otherwise fails\n\
in the hardest way possible on the hosting operating system.");
--- 6236,6240 ----
PyDoc_STRVAR(posix_abort__doc__,
! "abort() -> does not return!\n\n\
Abort the interpreter immediately. This 'dumps core' or otherwise fails\n\
in the hardest way possible on the hosting operating system.");