Last change
on this file was 391, checked in by dmik, 11 years ago |
python: Merge vendor 2.7.6 to trunk.
|
-
Property svn:eol-style
set to
native
|
File size:
289 bytes
|
Rev | Line | |
---|
[2] | 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];
|
---|
[391] | 12 | PyOS_snprintf(version, sizeof(version), "%.80s (%.80s) %.80s",
|
---|
[2] | 13 | PY_VERSION, Py_GetBuildInfo(), Py_GetCompiler());
|
---|
| 14 | return version;
|
---|
| 15 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.