summaryrefslogtreecommitdiffstats
path: root/Mac
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2001-10-23 22:28:23 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2001-10-23 22:28:23 (GMT)
commite54968a11a5d95461aefc2abf0384635d9813798 (patch)
tree5e8a42883fde99546a4fc4c306178e625826e740 /Mac
parent9ca14ec7cc78922d082ab7f9f865bf0d0cf3f46d (diff)
downloadcpython-e54968a11a5d95461aefc2abf0384635d9813798.zip
cpython-e54968a11a5d95461aefc2abf0384635d9813798.tar.gz
cpython-e54968a11a5d95461aefc2abf0384635d9813798.tar.bz2
Some escaped newlines had spaces between the backslash and the newline. Also slightly changed the comment on xstat().
Diffstat (limited to 'Mac')
-rw-r--r--Mac/Modules/macmodule.c11
1 files changed, 4 insertions, 7 deletions
diff --git a/Mac/Modules/macmodule.c b/Mac/Modules/macmodule.c
index 3606b93..d7cc1bc 100644
--- a/Mac/Modules/macmodule.c
+++ b/Mac/Modules/macmodule.c
@@ -467,18 +467,15 @@ 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\
-Macintosh: The fields st_rsize, st_creator, and st_type are available from\n\
-os.xstat.\n\
-\n\
See os.stat for more information.\n";
#define COMMON_STAT_RESULT_FIELDS \
{ "st_mode", "protection bits" }, \
{ "st_ino", "inode" }, \
- { "st_dev", "device" }, \
+ { "st_dev", "device" }, \
{ "st_nlink", "number of hard links" }, \
- { "st_uid", "user ID of owner" }, \
- { "st_gid", "group ID of owner" }, \
+ { "st_uid", "user ID of owner" }, \
+ { "st_gid", "group ID of owner" }, \
{ "st_size", "total size, in bytes" }, \
{ "st_atime", "time of last access" }, \
{ "st_mtime", "time of last modification" }, \
@@ -502,7 +499,7 @@ static PyTypeObject StatResultType;
#ifdef TARGET_API_MAC_OS8
static PyStructSequence_Field xstat_result_fields[] = {
- COMMON_XSTAT_RESULT_FIELDS
+ COMMON_STAT_RESULT_FIELDS
{ "st_rsize" },
{ "st_creator" },
{ "st_type "},