old_contents: import re
  import sys
  from collections import namedtuple
  
  from .client import Elasticsearch
  from .exception import (ConnectionError, NotFountError, ConflictError,
                          RequestError, TransportError)
  
  __all__ = ('Elasticsearch', 'ConnectionError', 'NotFountError',
             'ConflictError', 'RequestError', 'TransportError')
  
  
  __version__ = '0.1.0a'
  
  version = __version__ + ' , Python ' + sys.version
  
  
  VersionInfo = namedtuple('VersionInfo',
                           'major minor micro releaselevel serial')
  
  
  def _parse_version(ver):
      RE = (r'^(?P<major>\d+)\.(?P<minor>\d+)\.'
            '(?P<micro>\d+)((?P<releaselevel>[a-z]+)(?P<serial>\d+)?)?$')
      match = re.match(RE, ver)
      try:
          major = int(match.group('major'))
          minor = int(match.group('minor'))
          micro = int(match.group('micro'))
          levels = {'c': 'candidate',
                    'a': 'alpha',
                    'b': 'beta',
                    None: 'final'}
          releaselevel = levels[match.group('releaselevel')]
          serial = int(match.group('serial')) if match.group('serial') else 0
          return VersionInfo(major, minor, micro, releaselevel, serial)
      except Exception:
          raise ImportError("Invalid package version {}".format(ver))
  
  
  version_info = _parse_version(__version__)
  
  
  (Elasticsearch, ConnectionError, NotFountError, ConflictError,
   RequestError, TransportError)
  
new_contents: import re
  import sys
  from collections import namedtuple
  
  from .client import Elasticsearch
  from .exception import (ConnectionError, NotFoundError, ConflictError,
                          RequestError, TransportError)
  
  __all__ = ('Elasticsearch', 'ConnectionError', 'NotFoundError',
             'ConflictError', 'RequestError', 'TransportError')
  
  
  __version__ = '0.1.0a'
  
  version = __version__ + ' , Python ' + sys.version
  
  
  VersionInfo = namedtuple('VersionInfo',
                           'major minor micro releaselevel serial')
  
  
  def _parse_version(ver):
      RE = (r'^(?P<major>\d+)\.(?P<minor>\d+)\.'
            '(?P<micro>\d+)((?P<releaselevel>[a-z]+)(?P<serial>\d+)?)?$')
      match = re.match(RE, ver)
      try:
          major = int(match.group('major'))
          minor = int(match.group('minor'))
          micro = int(match.group('micro'))
          levels = {'c': 'candidate',
                    'a': 'alpha',
                    'b': 'beta',
                    None: 'final'}
          releaselevel = levels[match.group('releaselevel')]
          serial = int(match.group('serial')) if match.group('serial') else 0
          return VersionInfo(major, minor, micro, releaselevel, serial)
      except Exception:
          raise ImportError("Invalid package version {}".format(ver))
  
  
  version_info = _parse_version(__version__)
  
  
  (Elasticsearch, ConnectionError, NotFoundError, ConflictError,
   RequestError, TransportError)
  
subject: Fix typo