Skip to content

Commit aa33587

Browse files
committed
Fix start and variable
1 parent fbebc0c commit aa33587

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Lib/json/decoder.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,10 @@ def __reduce__(self):
5858
}
5959

6060
def _decode_uXXXX(s, pos, _m=HEXDIGITS.match):
61-
esc = _m(s, pos)
61+
esc = _m(s, pos + 1)
6262
if esc is not None:
6363
try:
64-
return int(match.group(), 16)
64+
return int(esc.group(), 16)
6565
except ValueError:
6666
pass
6767
msg = "Invalid \\uXXXX escape"

0 commit comments

Comments
 (0)