diff options
Diffstat (limited to 'jsonpointer.py')
-rw-r--r-- | jsonpointer.py | 2 |
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('/') |