# Bug report ### Bug description: If you run ```python 0x9g ``` Anywhere (I did it in the REPL), the pointer that shows where the error happened is on `9`, even though it is valid: ``` >>> 0x9g File "<stdin>", line 1 0x9g ^ SyntaxError: invalid hexadecimal literal ``` ### CPython versions tested on: 3.13 ### Operating systems tested on: Linux <!-- gh-linked-prs --> ### Linked PRs * gh-149456 <!-- /gh-linked-prs -->
Bug report
Bug description:
If you run
Anywhere (I did it in the REPL), the pointer that shows where the error happened is on
9, even though it is valid:CPython versions tested on:
3.13
Operating systems tested on:
Linux
Linked PRs