You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
289 B

31 years ago
31 years ago
31 years ago
31 years ago
31 years ago
  1. /* Return the full version string. */
  2. #include "Python.h"
  3. #include "patchlevel.h"
  4. const char *
  5. Py_GetVersion(void)
  6. {
  7. static char version[250];
  8. PyOS_snprintf(version, sizeof(version), "%.80s (%.80s) %.80s",
  9. PY_VERSION, Py_GetBuildInfo(), Py_GetCompiler());
  10. return version;
  11. }