Staging
v0.5.1
https://github.com/python/cpython
Revision 8df4f3942faf05790efeaf62a8f493aabd181d3f authored by Miss Islington (bot) on 08 June 2020, 09:22:06 UTC, committed by GitHub on 08 June 2020, 09:22:06 UTC

Automerge-Triggered-By: @pablogsal
(cherry picked from commit 9f495908c5bd3645ed1af82d7bae6782720dab77)

Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
1 parent 66605d1
Raw File
Tip revision: 8df4f3942faf05790efeaf62a8f493aabd181d3f authored by Miss Islington (bot) on 08 June 2020, 09:22:06 UTC
bpo-40903: Handle multiple '=' in invalid assignment rules in the PEG parser (GH-20697)
Tip revision: 8df4f39
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