Skip to content

Commit 8819807

Browse files
committed
Wrong variable
1 parent 8587c66 commit 8819807

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/json/decoder.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def __reduce__(self):
5858
}
5959

6060
def _decode_uXXXX(s, pos, _m=HEXDIGITS.match):
61-
if match := _m(s, end):
61+
if match := _m(s, pos):
6262
try:
6363
return int(match.group(), 16)
6464
except ValueError:

0 commit comments

Comments
 (0)