()
Return abbreviated implementation name.
Return abbreviated implementation name.
Return abbreviated implementation name .
def get_abbr_impl():
    """Return abbreviated implementation name."""
    impl = platform.python_implementation()
    if impl == 'PyPy':
        return 'pp'
    elif impl == 'Jython':
        return 'jy'
    elif impl == 'IronPython':
        return 'ip'
    elif impl == 'CPython':
        return 'cp'

    raise LookupError('Unknown Python implementation: ' + impl)
def get_abbr_impl ( ) : impl = platform . python_implementation ( ) if impl == 'PyPy' : return 'pp' elif impl == 'Jython' : return 'jy' elif impl == 'IronPython' : return 'ip' elif impl == 'CPython' : return 'cp' raise LookupError ( 'Unknown Python implementation: ' + impl )