repo.or.cz
/
python.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Localize the function lookup in timeit.
[python.git]
/
Python
/
getversion.c
blob
7af16fc8109e973ee6e23583ee484582cf285e7c
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
{
11
static char
version
[
250
];
12
PyOS_snprintf
(
version
,
sizeof
(
version
),
"%.80s (%.80s) %.80s"
,
13
PY_VERSION
,
Py_GetBuildInfo
(),
Py_GetCompiler
());
14
return
version
;
15
}