summaryrefslogtreecommitdiff
path: root/Python/compile.c
diff options
context:
space:
mode:
Diffstat (limited to 'Python/compile.c')
-rw-r--r--Python/compile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/compile.c b/Python/compile.c
index 62d78867e0..c38a0d1b1a 100644
--- a/Python/compile.c
+++ b/Python/compile.c
@@ -1705,7 +1705,7 @@ static int
compiler_visit_annexpr(struct compiler *c, expr_ty annotation)
{
PyObject *ann_as_str;
- ann_as_str = _PyAST_ExprAsUnicode(annotation, 1);
+ ann_as_str = _PyAST_ExprAsUnicode(annotation);
if (!ann_as_str) {
return 0;
}