Skip to content

Update comment for builtin_compile_impl #11762

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

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