diff options
author | Shantanu <hauntsaninja@users.noreply.github.com> | 2020-05-04 01:13:30 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-04 11:13:30 +0300 |
commit | c3f001461d5794c81cf5f70e08ae5435fe935ceb (patch) | |
tree | 87e58f45e3500f5b08263611da494451acf7f672 | |
parent | 41a64587a0fd68bcd21ba42999cd3940801dff7c (diff) | |
download | cpython-git-c3f001461d5794c81cf5f70e08ae5435fe935ceb.tar.gz |
bpo-40491: Fix typo in syntax error for numeric literals (GH-19893)
-rw-r--r-- | Parser/pegen/pegen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Parser/pegen/pegen.c b/Parser/pegen/pegen.c index 9858f71c83..391f9b91ea 100644 --- a/Parser/pegen/pegen.c +++ b/Parser/pegen/pegen.c @@ -907,7 +907,7 @@ _PyPegen_number_token(Parser *p) if (p->feature_version < 6 && strchr(num_raw, '_') != NULL) { p->error_indicator = 1; - return RAISE_SYNTAX_ERROR("Underscores in numeric literals are only supported" + return RAISE_SYNTAX_ERROR("Underscores in numeric literals are only supported " "in Python 3.6 and greater"); } |