Skip to content

Commit e5cfb77

Browse files
committed
Use chr() instead of unichr() that was removed in python3
1 parent 2cca20a commit e5cfb77

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

jsonpath.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ def read_escape(stream):
153153
for _ in range(0, 4):
154154
r |= int(stream.read(), 16) << sv
155155
sv -= 4
156-
return unichr(r)
156+
return chr(r)
157157

158158

159159
class CountingStream:

0 commit comments

Comments
 (0)