bpo-33475: Fix and improve converting annotations to strings. (GH-6774)

This commit is contained in:
Serhiy Storchaka 2018-05-17 06:17:48 +03:00 committed by Łukasz Langa
parent d852142cd7
commit 64fddc423f
5 changed files with 356 additions and 601 deletions

View file

@ -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 */