From 64fddc423fcbe90b8088446c63385ec0aaf3077c Mon Sep 17 00:00:00 2001 From: Serhiy Storchaka Date: Thu, 17 May 2018 06:17:48 +0300 Subject: bpo-33475: Fix and improve converting annotations to strings. (GH-6774) --- Python/compile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Python/compile.c') diff --git a/Python/compile.c b/Python/compile.c index 7960f09319..c3397f0c45 100644 --- a/Python/compile.c +++ b/Python/compile.c @@ -1822,7 +1822,7 @@ error: static int compiler_visit_annexpr(struct compiler *c, expr_ty annotation) { - ADDOP_LOAD_CONST_NEW(c, _PyAST_ExprAsUnicode(annotation, 1)); + ADDOP_LOAD_CONST_NEW(c, _PyAST_ExprAsUnicode(annotation)); return 1; } -- cgit v1.2.1