collections.py 417 B

123456789101112131415161718
  1. from __future__ import absolute_import
  2. import sys
  3. from future.utils import PY2, PY26
  4. __future_module__ = True
  5. from collections import *
  6. if PY2:
  7. from UserDict import UserDict
  8. from UserList import UserList
  9. from UserString import UserString
  10. if PY26:
  11. from future.backports.misc import OrderedDict, Counter
  12. if sys.version_info < (3, 3):
  13. from future.backports.misc import ChainMap, _count_elements