Coverage Report

Created: 2025-07-11 06:59

/src/Python-3.8.3/Python/getversion.c
Line
Count
Source
1
2
/* Return the full version string. */
3
4
#include "Python.h"
5
6
#include "patchlevel.h"
7
8
const char *
9
Py_GetVersion(void)
10
14
{
11
14
    static char version[250];
12
14
    PyOS_snprintf(version, sizeof(version), "%.80s (%.80s) %.80s",
13
14
                  PY_VERSION, Py_GetBuildInfo(), Py_GetCompiler());
14
14
    return version;
15
14
}