Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d0e74ea

Browse files
committed
Clean up some comments and the default VERSION.
1 parent 25b163d commit d0e74ea

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

Modules/getpath.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@
9898
*/
9999

100100
#ifndef VERSION
101-
#define VERSION "2.0"
101+
#define VERSION "2.1"
102102
#endif
103103

104104
#ifndef VPATH
@@ -114,7 +114,6 @@
114114
#endif
115115

116116
#ifndef PYTHONPATH
117-
/* I know this isn't K&R C, but the Makefile specifies it anyway */
118117
#define PYTHONPATH PREFIX "/lib/python" VERSION ":" \
119118
EXEC_PREFIX "/lib/python" VERSION "/lib-dynload"
120119
#endif
@@ -224,7 +223,7 @@ joinpath(char *buffer, char *stuff)
224223
buffer[n+k] = '\0';
225224
}
226225

227-
/* init_path_from_argv0 requirs that path be allocated at least
226+
/* init_path_from_argv0 requires that path be allocated at least
228227
MAXPATHLEN + 1 bytes and that argv0_path be no more than MAXPATHLEN
229228
bytes.
230229
*/

0 commit comments

Comments
 (0)