From c3f001461d5794c81cf5f70e08ae5435fe935ceb Mon Sep 17 00:00:00 2001 From: Shantanu Date: Mon, 4 May 2020 01:13:30 -0700 Subject: [PATCH] bpo-40491: Fix typo in syntax error for numeric literals (GH-19893) --- Parser/pegen/pegen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Parser/pegen/pegen.c b/Parser/pegen/pegen.c index 9858f71c83c..391f9b91eab 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"); }