bpo-33305: Improve SyntaxError for invalid numerical literals. (GH-6517) · pythoncapi/cpython@cf7303e · GitHub
Skip to content

Commit cf7303e

Browse files
bpo-33305: Improve SyntaxError for invalid numerical literals. (pythonGH-6517)
1 parent 2a9b8ba commit cf7303e

3 files changed

Lines changed: 77 additions & 13 deletions

File tree

Lib/test/test_grammar.py

Lines changed: 24 additions & 0 deletions
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Improved syntax error messages for invalid numerical literals.

Parser/tokenizer.c

Lines changed: 52 additions & 13 deletions

0 commit comments

Comments
 (0)