Staging
v0.8.1
Revision 7ba1f75f3f02b4b50ac6d7e17d15e467afa36aac authored by Joannah Nanjekye on 15 May 2020, 00:59:46 UTC, committed by GitHub on 15 May 2020, 00:59:46 UTC
* Document exec symbol for codeop.compile_command

* Remove extra statements

Co-authored-by: nanjekyejoannah <joannah.nanjekye@ibm.com>
1 parent 4b972fa
Raw File
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