summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2018-05-17 03:17:48 (GMT)
committerƁukasz Langa <lukasz@langa.pl>2018-05-17 03:17:48 (GMT)
commit64fddc423fcbe90b8088446c63385ec0aaf3077c (patch)
tree9accc41ee30c4e823ed6069f168189bf54431083 /Include
parentd852142cd728f45372ba6137bd87e29ba7b5b4d2 (diff)
downloadcpython-64fddc423fcbe90b8088446c63385ec0aaf3077c.zip
cpython-64fddc423fcbe90b8088446c63385ec0aaf3077c.tar.gz
cpython-64fddc423fcbe90b8088446c63385ec0aaf3077c.tar.bz2
bpo-33475: Fix and improve converting annotations to strings. (GH-6774)
Diffstat (limited to 'Include')
-rw-r--r--Include/ast.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/Include/ast.h b/Include/ast.h
index 639c4f8..5bc2b05 100644
--- a/Include/ast.h
+++ b/Include/ast.h
@@ -19,9 +19,7 @@ PyAPI_FUNC(mod_ty) PyAST_FromNodeObject(
#ifndef Py_LIMITED_API
/* _PyAST_ExprAsUnicode is defined in ast_unparse.c */
-PyAPI_FUNC(PyObject *) _PyAST_ExprAsUnicode(
- expr_ty e,
- int omit_parens);
+PyAPI_FUNC(PyObject *) _PyAST_ExprAsUnicode(expr_ty);
#endif /* !Py_LIMITED_API */