We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1ed957b commit 85620b0Copy full SHA for 85620b0
jsonpointer.py
@@ -255,7 +255,7 @@ def path(self):
255
"""
256
parts = [part.replace('~', '~0') for part in self.parts]
257
parts = [part.replace('/', '~1') for part in parts]
258
- return '/' + '/'.join(parts)
+ return ''.join('/' + part for part in parts)
259
260
def __eq__(self, other):
261
""" compares a pointer to another object
0 commit comments