]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-40491: Fix typo in syntax error for numeric literals (GH-19893)
authorShantanu <hauntsaninja@users.noreply.github.com>
Mon, 4 May 2020 08:13:30 +0000 (01:13 -0700)
committerGitHub <noreply@github.com>
Mon, 4 May 2020 08:13:30 +0000 (11:13 +0300)
Parser/pegen/pegen.c

index 9858f71c83c790033f628c4512249a837341105b..391f9b91eab902deeb73e41f23109d28fec7738d 100644 (file)
@@ -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");
     }