mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
bpo-33475: Fix and improve converting annotations to strings. (GH-6774)
This commit is contained in:
parent
d852142cd7
commit
64fddc423f
5 changed files with 356 additions and 601 deletions
|
@ -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 */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue