From: Shantanu Date: Mon, 4 May 2020 08:13:30 +0000 (-0700) Subject: bpo-40491: Fix typo in syntax error for numeric literals (GH-19893) X-Git-Tag: v3.9.0b1~191 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c3f001461d5794c81cf5f70e08ae5435fe935ceb;p=thirdparty%2FPython%2Fcpython.git bpo-40491: Fix typo in syntax error for numeric literals (GH-19893) --- diff --git a/Parser/pegen/pegen.c b/Parser/pegen/pegen.c index 9858f71c83c7..391f9b91eab9 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"); }