diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2002-06-13 20:33:02 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2002-06-13 20:33:02 (GMT) |
commit | 14f8b4cfcb98de74b9c6e9316539be9e2a5cd31f (patch) | |
tree | 7b150133cdd51df851c6bdaf261cd9ea30c149af /Modules/parsermodule.c | |
parent | 654c11ee3a2c9b72c040524c9cc4f95a1858f20b (diff) | |
download | cpython-14f8b4cfcb98de74b9c6e9316539be9e2a5cd31f.zip cpython-14f8b4cfcb98de74b9c6e9316539be9e2a5cd31f.tar.gz cpython-14f8b4cfcb98de74b9c6e9316539be9e2a5cd31f.tar.bz2 |
Patch #568124: Add doc string macros.
Diffstat (limited to 'Modules/parsermodule.c')
-rw-r--r-- | Modules/parsermodule.c | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/Modules/parsermodule.c b/Modules/parsermodule.c index 24dec1f..854d986 100644 --- a/Modules/parsermodule.c +++ b/Modules/parsermodule.c @@ -46,20 +46,17 @@ char *strdup(char *); /* String constants used to initialize module attributes. * */ -static char* -parser_copyright_string -= "Copyright 1995-1996 by Virginia Polytechnic Institute & State\n\ +static char parser_copyright_string[] = +"Copyright 1995-1996 by Virginia Polytechnic Institute & State\n\ University, Blacksburg, Virginia, USA, and Fred L. Drake, Jr., Reston,\n\ Virginia, USA. Portions copyright 1991-1995 by Stichting Mathematisch\n\ Centrum, Amsterdam, The Netherlands."; -static char* -parser_doc_string -= "This is an interface to Python's internal parser."; +PyDoc_STRVAR(parser_doc_string, +"This is an interface to Python's internal parser."); -static char* -parser_version_string = "0.5"; +static char parser_version_string[] = "0.5"; typedef PyObject* (*SeqMaker) (int length); |