Staging
v0.8.1
https://github.com/python/cpython
Revision ce5e6f098f8a270e50b989baa75765584573706b authored by Łukasz Langa on 09 June 2020, 17:50:01 UTC, committed by GitHub on 09 June 2020, 17:50:01 UTC
This reverts commit 9cf1be46e3692d565461afd3afa326d124d743dd due to
https://bugs.python.org/issue40924.
1 parent 6cb24a0
Raw File
Tip revision: ce5e6f098f8a270e50b989baa75765584573706b authored by Łukasz Langa on 09 June 2020, 17:50:01 UTC
[3.9] bpo-40924: Revert "bpo-39791 native hooks for importlib.resources.files (GH-20576)" (#20760)
Tip revision: ce5e6f0
getversion.c

/* 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;
}
back to top