Returns a string identifying the Python implementation. Currently, the following implementations are identified: 'CPython' (C implementation of Python), 'Jython' (Java implementation of Python), 'PyPy' (Python implementation of Python).
()
| 1235 | return result |
| 1236 | |
| 1237 | def python_implementation(): |
| 1238 | |
| 1239 | """ Returns a string identifying the Python implementation. |
| 1240 | |
| 1241 | Currently, the following implementations are identified: |
| 1242 | 'CPython' (C implementation of Python), |
| 1243 | 'Jython' (Java implementation of Python), |
| 1244 | 'PyPy' (Python implementation of Python). |
| 1245 | |
| 1246 | """ |
| 1247 | return _sys_version()[0] |
| 1248 | |
| 1249 | def python_version(): |
| 1250 |