Returns the Python version as string 'major.minor.patchlevel' Note that unlike the Python sys.version, the returned value will always include the patchlevel (it defaults to 0).
()
| 1247 | return _sys_version()[0] |
| 1248 | |
| 1249 | def python_version(): |
| 1250 | |
| 1251 | """ Returns the Python version as string 'major.minor.patchlevel' |
| 1252 | |
| 1253 | Note that unlike the Python sys.version, the returned value |
| 1254 | will always include the patchlevel (it defaults to 0). |
| 1255 | |
| 1256 | """ |
| 1257 | return _sys_version()[1] |
| 1258 | |
| 1259 | def python_version_tuple(): |
| 1260 |
nothing calls this directly
no test coverage detected