summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2001-01-23 01:57:40 (GMT)
committerGuido van Rossum <guido@python.org>2001-01-23 01:57:40 (GMT)
commitd0e74eac6b107ccda01842d736c3ee44727dc5dc (patch)
treee4c1aa626c150c3838160fb5863a0a077e83b0fa
parent25b163d5798fce263daa4155c5291daba6e66db0 (diff)
downloadcpython-d0e74eac6b107ccda01842d736c3ee44727dc5dc.zip
cpython-d0e74eac6b107ccda01842d736c3ee44727dc5dc.tar.gz
cpython-d0e74eac6b107ccda01842d736c3ee44727dc5dc.tar.bz2
Clean up some comments and the default VERSION.
-rw-r--r--Modules/getpath.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/Modules/getpath.c b/Modules/getpath.c
index 3fd0d8d..aa5553d 100644
--- a/Modules/getpath.c
+++ b/Modules/getpath.c
@@ -98,7 +98,7 @@
*/
#ifndef VERSION
-#define VERSION "2.0"
+#define VERSION "2.1"
#endif
#ifndef VPATH
@@ -114,7 +114,6 @@
#endif
#ifndef PYTHONPATH
-/* I know this isn't K&R C, but the Makefile specifies it anyway */
#define PYTHONPATH PREFIX "/lib/python" VERSION ":" \
EXEC_PREFIX "/lib/python" VERSION "/lib-dynload"
#endif
@@ -224,7 +223,7 @@ joinpath(char *buffer, char *stuff)
buffer[n+k] = '\0';
}
-/* init_path_from_argv0 requirs that path be allocated at least
+/* init_path_from_argv0 requires that path be allocated at least
MAXPATHLEN + 1 bytes and that argv0_path be no more than MAXPATHLEN
bytes.
*/