We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c069534 commit cce7ed2Copy full SHA for cce7ed2
jsonpointer.py
@@ -38,13 +38,9 @@
38
__website__ = 'https://github.com/stefankoegl/python-json-pointer'
39
__license__ = 'Modified BSD License'
40
41
-try:
42
- from collections.abc import Mapping, Sequence
43
-except ImportError: # Python 3
44
- from collections import Mapping, Sequence
45
-
46
import copy
47
import re
+from collections.abc import Mapping, Sequence
48
from itertools import tee, chain
49
50
_nothing = object()
@@ -301,8 +297,6 @@ def join(self, suffix):
301
297
def __truediv__(self, suffix): # Python 3
302
298
return self.join(suffix)
303
299
304
- __div__ = __truediv__ # Python 2
305
306
300
@property
307
def path(self):
308
"""Returns the string representation of the pointer
0 commit comments