summaryrefslogtreecommitdiff
path: root/jsonpointer.py
diff options
context:
space:
mode:
authorStefan Kögl <stefan@skoegl.net>2018-01-16 13:01:07 +0100
committerGitHub <noreply@github.com>2018-01-16 13:01:07 +0100
commitebb99789d72f6c7f98f20d20623029ae66db7da8 (patch)
tree2d130974ce36e506089d6e8512e84735541f39b6 /jsonpointer.py
parent1345d715c40fc9c4c979bbef576b1eda4aff387e (diff)
parentdf3395ab1db3957e71c5a9701f0d3bb622faf16f (diff)
downloadpython-json-pointer-ebb99789d72f6c7f98f20d20623029ae66db7da8.tar.gz
Merge pull request #28 from hugovk/rm-eol
Drop support for EOL Python 2.6 and 3.3
Diffstat (limited to 'jsonpointer.py')
-rw-r--r--jsonpointer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/jsonpointer.py b/jsonpointer.py
index 285fc0c..a844729 100644
--- a/jsonpointer.py
+++ b/jsonpointer.py
@@ -174,7 +174,7 @@ class JsonPointer(object):
# validate escapes
invalid_escape = self._RE_INVALID_ESCAPE.search(pointer)
if invalid_escape:
- raise JsonPointerException('Found invalid escape {0}'.format(
+ raise JsonPointerException('Found invalid escape {}'.format(
invalid_escape.group()))
parts = pointer.split('/')