Mercurial > cpython-lru_cache-weakref
comparison Python/getversion.c @ 13658:f79434ee41fa legacy-trunk
Mass ANSIfication of function definitions. Doesn't cover all 'extern'
declarations yet, those come later.
| author | Thomas Wouters <thomas@python.org> |
|---|---|
| date | Sat, 22 Jul 2000 18:47:25 +0000 |
| parents | 87ee82e5c56d |
| children | 6f6f965c5e2d |
comparison
equal
deleted
inserted
replaced
| 13657:6a5314a6c2c2 | 13658:f79434ee41fa |
|---|---|
| 13 #include "Python.h" | 13 #include "Python.h" |
| 14 | 14 |
| 15 #include "patchlevel.h" | 15 #include "patchlevel.h" |
| 16 | 16 |
| 17 const char * | 17 const char * |
| 18 Py_GetVersion() | 18 Py_GetVersion(void) |
| 19 { | 19 { |
| 20 static char version[250]; | 20 static char version[250]; |
| 21 sprintf(version, "%.80s (%.80s) %.80s", PY_VERSION, | 21 sprintf(version, "%.80s (%.80s) %.80s", PY_VERSION, |
| 22 Py_GetBuildInfo(), Py_GetCompiler()); | 22 Py_GetBuildInfo(), Py_GetCompiler()); |
| 23 return version; | 23 return version; |
