summaryrefslogtreecommitdiff
path: root/jsonpointer.py
diff options
context:
space:
mode:
authorHugo <hugovk@users.noreply.github.com>2018-01-15 16:57:26 +0200
committerHugo <hugovk@users.noreply.github.com>2018-01-15 16:57:26 +0200
commitdf3395ab1db3957e71c5a9701f0d3bb622faf16f (patch)
treec84eaeb520e8a7c00b71a1ef90db682b1b1c93a9 /jsonpointer.py
parentbae64f61ec5f1057342faf19b89d5bd571b038da (diff)
downloadpython-json-pointer-df3395ab1db3957e71c5a9701f0d3bb622faf16f.tar.gz
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('/')