File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed
Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change 11from __future__ import unicode_literals
2- import sys
2+
33import inspect
4- from collections import Mapping
54
65from future .utils import PY3 , exec_
76
8-
97if PY3 :
108 import builtins
9+ from collections .abc import Mapping
1110
1211 def apply (f , * args , ** kw ):
1312 return f (* args , ** kw )
@@ -44,6 +43,7 @@ def oct(number):
4443 xrange = range
4544else :
4645 import __builtin__
46+ from collections import Mapping
4747 apply = __builtin__ .apply
4848 chr = __builtin__ .chr
4949 cmp = __builtin__ .cmp
Original file line number Diff line number Diff line change 22Pure-Python implementation of a Python 2-like str object for Python 3.
33"""
44
5- from collections import Iterable
65from numbers import Integral
76
8- from past .utils import PY2 , with_metaclass
9-
7+ from past .utils import with_metaclass
108
119_builtin_bytes = bytes
1210
You can’t perform that action at this time.
0 commit comments