Skip to content

Commit cce7ed2

Browse files
committed
address comments
1 parent c069534 commit cce7ed2

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

Diff for: jsonpointer.py

+1-7
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,9 @@
3838
__website__ = 'https://github.com/stefankoegl/python-json-pointer'
3939
__license__ = 'Modified BSD License'
4040

41-
try:
42-
from collections.abc import Mapping, Sequence
43-
except ImportError: # Python 3
44-
from collections import Mapping, Sequence
45-
4641
import copy
4742
import re
43+
from collections.abc import Mapping, Sequence
4844
from itertools import tee, chain
4945

5046
_nothing = object()
@@ -301,8 +297,6 @@ def join(self, suffix):
301297
def __truediv__(self, suffix): # Python 3
302298
return self.join(suffix)
303299

304-
__div__ = __truediv__ # Python 2
305-
306300
@property
307301
def path(self):
308302
"""Returns the string representation of the pointer

0 commit comments

Comments
 (0)