Skip to content

Update comment for builtin_compile_impl - #11762

Closed
tyomitch wants to merge 1 commit into
python:masterfrom
tyomitch:patch-1
Closed

Update comment for builtin_compile_impl#11762
tyomitch wants to merge 1 commit into
python:masterfrom
tyomitch:patch-1

Conversation

@tyomitch

Copy link
Copy Markdown
Contributor

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
Copy Markdown
Member

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

@tyomitch
tyomitch deleted the patch-1 branch February 6, 2019 07:26
Sign up for freeto 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

@tyomitch@gvanrossum@the-knights-who-say-ni@bedevere-bot