Skip to content

Commit

Permalink
address comments
Browse files Browse the repository at this point in the history
  • Loading branch information
cunla committed May 28, 2024
1 parent c069534 commit cce7ed2
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions jsonpointer.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,9 @@
__website__ = 'https://github.com/stefankoegl/python-json-pointer'
__license__ = 'Modified BSD License'

try:
from collections.abc import Mapping, Sequence
except ImportError: # Python 3
from collections import Mapping, Sequence

import copy
import re
from collections.abc import Mapping, Sequence
from itertools import tee, chain

_nothing = object()
Expand Down Expand Up @@ -301,8 +297,6 @@ def join(self, suffix):
def __truediv__(self, suffix): # Python 3
return self.join(suffix)

__div__ = __truediv__ # Python 2

@property
def path(self):
"""Returns the string representation of the pointer
Expand Down

0 comments on commit cce7ed2

Please sign in to comment.