Mercurial > cpython-lru_cache-weakref
view Python/getversion.c @ 3044:7e7bb00a0a2e legacy-trunk
Added functionality: locate CW projects, copy them, empty them and
binhex them.
| author | Jack Jansen <jack.jansen@cwi.nl> |
|---|---|
| date | Thu, 31 Aug 1995 13:47:14 +0000 |
| parents | f0d9f800a4aa |
| children | 237c3b2a6187 |
line wrap: on
line source
/* Return the full version string. */ #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; }
