from past import utils

if utils.PY2:
    import __builtin__
    basestring = __builtin__.basestring
    dict = __builtin__.dict
    str = __builtin__.str
    long = __builtin__.long
    unicode = __builtin__.unicode
    __all__ = []
else:
    from .basestring import basestring
    from .olddict import olddict as dict
    from .oldstr import oldstr as str
    long = int
    unicode = str
    # from .unicode import unicode
    __all__ = ['basestring', 'dict', 'str', 'long', 'unicode']


from past import utils

if utils.PY2:
    import __builtin__
    basestring = __builtin__.basestring
    dict = __builtin__.dict
    str = __builtin__.str
    long = __builtin__.long
    unicode = __builtin__.unicode
    __all__ = []
else:
    from .basestring import basestring
    from .olddict import olddict
    from .oldstr import oldstr
    long = int
    unicode = str
    # from .unicode import unicode
    __all__ = ['basestring', 'olddict', 'oldstr', 'long', 'unicode']


Fix imports of past.builtins types
Fix imports of past.builtins types

  from past import utils
  
  if utils.PY2:
      import __builtin__
      basestring = __builtin__.basestring
      dict = __builtin__.dict
      str = __builtin__.str
      long = __builtin__.long
      unicode = __builtin__.unicode
      __all__ = []
  else:
      from .basestring import basestring
-     from .olddict import olddict as dict
+     from .olddict import olddict
-     from .oldstr import oldstr as str
+     from .oldstr import oldstr
      long = int
      unicode = str
      # from .unicode import unicode
-     __all__ = ['basestring', 'dict', 'str', 'long', 'unicode']
+     __all__ = ['basestring', 'olddict', 'oldstr', 'long', 'unicode']
  
  
Fix imports of past.builtins types
## Code Before:
from past import utils

if utils.PY2:
    import __builtin__
    basestring = __builtin__.basestring
    dict = __builtin__.dict
    str = __builtin__.str
    long = __builtin__.long
    unicode = __builtin__.unicode
    __all__ = []
else:
    from .basestring import basestring
    from .olddict import olddict as dict
    from .oldstr import oldstr as str
    long = int
    unicode = str
    # from .unicode import unicode
    __all__ = ['basestring', 'dict', 'str', 'long', 'unicode']


## Instruction:
Fix imports of past.builtins types
## Code After:
from past import utils

if utils.PY2:
    import __builtin__
    basestring = __builtin__.basestring
    dict = __builtin__.dict
    str = __builtin__.str
    long = __builtin__.long
    unicode = __builtin__.unicode
    __all__ = []
else:
    from .basestring import basestring
    from .olddict import olddict
    from .oldstr import oldstr
    long = int
    unicode = str
    # from .unicode import unicode
    __all__ = ['basestring', 'olddict', 'oldstr', 'long', 'unicode']

