mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-23 22:02:27 +00:00
python-3.6.zip added from Github
README.cosmo contains the necessary links.
This commit is contained in:
parent
75fc601ff5
commit
0c4c56ff39
4219 changed files with 1968626 additions and 0 deletions
15
third_party/python/Python/getversion.c
vendored
Normal file
15
third_party/python/Python/getversion.c
vendored
Normal file
|
@ -0,0 +1,15 @@
|
|||
|
||||
/* Return the full version string. */
|
||||
|
||||
#include "Python.h"
|
||||
|
||||
#include "patchlevel.h"
|
||||
|
||||
const char *
|
||||
Py_GetVersion(void)
|
||||
{
|
||||
static char version[250];
|
||||
PyOS_snprintf(version, sizeof(version), "%.80s (%.80s) %.80s",
|
||||
PY_VERSION, Py_GetBuildInfo(), Py_GetCompiler());
|
||||
return version;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue