summaryrefslogtreecommitdiff
path: root/RISCOS
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2002-06-13 20:33:02 +0000
committerMartin v. Löwis <martin@v.loewis.de>2002-06-13 20:33:02 +0000
commit14f8b4cfcb98de74b9c6e9316539be9e2a5cd31f (patch)
tree7b150133cdd51df851c6bdaf261cd9ea30c149af /RISCOS
parent654c11ee3a2c9b72c040524c9cc4f95a1858f20b (diff)
downloadcpython-git-14f8b4cfcb98de74b9c6e9316539be9e2a5cd31f.tar.gz
Patch #568124: Add doc string macros.
Diffstat (limited to 'RISCOS')
-rw-r--r--RISCOS/Modules/riscosmodule.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/RISCOS/Modules/riscosmodule.c b/RISCOS/Modules/riscosmodule.c
index cb4289db3e..adcc1286bc 100644
--- a/RISCOS/Modules/riscosmodule.c
+++ b/RISCOS/Modules/riscosmodule.c
@@ -120,7 +120,7 @@ static PyObject *riscos_listdir(PyObject *self,PyObject *args)
return d;
}
-static char stat_result__doc__[] =
+PyDoc_STRVAR(stat_result__doc__,
"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\
@@ -128,7 +128,7 @@ or via the attributes st_mode, st_ino, st_dev, st_nlink, st_uid, and so on.\n\
\n\
RiscOS: The fields st_ftype, st_attrs, and st_obtype are also available.\n\
\n\
-See os.stat for more information.\n";
+See os.stat for more information.");
static PyStructSequence_Field stat_result_fields[] = {
{ "st_mode", "protection bits" },