Skip to content

Conversation

@tyomitch
Copy link
Contributor

@tyomitch tyomitch commented Feb 5, 2019

GH-11645 added the fourth option for mode argument; updating the comment accordingly.

pythonGH-11645 added the fourth option for `mode` argument; updating the comment accordingly.
@gvanrossum
Copy link
Member

No, this is intentionally undocumented, the documented way is to call ast.parse(source, filename, 'func_type'). (See also the code around L809.)

@gvanrossum gvanrossum closed this Feb 5, 2019
@tyomitch tyomitch deleted the patch-1 branch February 6, 2019 07:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants