import sys
import marshal
import os.path


if not hasattr(sys, 'implementation'):
    raise ImportError('Python 3.2 or newer is required.')

tag = sys.implementation.cache_tag

if tag is None:
    # Never seen this to be true, but Python documentation
    # mentions that it's possible.
    raise ImportError('Module caching is disabled. Cannot load the bundle.')

bundle = os.path.join(__path__[0], 'bundles', tag + '.dgbundle')

if not os.path.isfile(bundle):
    # Probably unsupported.
    raise ImportError('No bundle found for `{}`.'.format(tag))

try:
    with open(bundle, 'rb') as _fd:
        for _c in marshal.load(_fd):
            eval(_c)
except IOError:
    raise ImportError('The bundle for `{}` is inaccessible.'.format(tag))
except Exception:
    raise ImportError('The bundle for `{}` is corrupt.'.format(tag))

import sys
import marshal
import os.path


if not hasattr(sys, 'implementation'):
    raise ImportError('Python 3.3 or newer is required.')

tag = sys.implementation.cache_tag

if tag is None:
    # Never seen this to be true, but Python documentation
    # mentions that it's possible.
    raise ImportError('Module caching is disabled. Cannot load the bundle.')

bundle = os.path.join(__path__[0], 'bundles', tag + '.dgbundle')

if not os.path.isfile(bundle):
    # Probably unsupported.
    raise ImportError('No bundle found for `{}`.'.format(tag))

try:
    with open(bundle, 'rb') as _fd:
        for _c in marshal.load(_fd):
            eval(_c)
except IOError:
    raise ImportError('The bundle for `{}` is inaccessible.'.format(tag))
except Exception:
    raise ImportError('The bundle for `{}` is corrupt.'.format(tag))

Fix a typo in __init__.py