print out the subversion of the Python version string. ex 2.4.2

This commit is contained in:
Stephen Swaney
2007-02-25 01:41:14 +00:00
parent 75147698e2
commit d07e0abf89

View File

@@ -171,7 +171,7 @@ void BPY_start_python( int argc, char **argv )
* rest of our init msgs.
*/
// Py_GetVersion() returns a ptr to astatic string
printf( "Compiled with Python version %.3s.\n", Py_GetVersion() );
printf( "Compiled with Python version %.5s.\n", Py_GetVersion() );
//Initialize the TOP-LEVEL modules
PyImport_ExtendInittab(BPy_Inittab_Modules);