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