Mercurial > cpython-lru_cache-weakref
view Python/getversion.c @ 3166:938c433c876a legacy-trunk
disable code generation for access statement
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Sun, 08 Oct 1995 00:42:46 +0000 |
| parents | 237c3b2a6187 |
| children | c7cdd22a4853 |
line wrap: on
line source
/* Return the full version string. */ #include "Python.h" #include "patchlevel.h" #define VERSION "%s (%s) %s" #ifdef __DATE__ #define DATE __DATE__ #else #define DATE "August 1 1995" #endif extern const char *getcompiler(); const char * getversion() { static char version[80]; sprintf(version, VERSION, PATCHLEVEL, DATE, getcompiler()); return version; }
