Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Update comment for builtin_compile_impl#11762

Closed
tyomitch wants to merge 1 commit into
python:masterpython/cpython:masterfrom
tyomitch:patch-1tyomitch/cpython:patch-1Copy head branch name to clipboard
Closed

Update comment for builtin_compile_impl#11762
tyomitch wants to merge 1 commit into
python:masterpython/cpython:masterfrom
tyomitch:patch-1tyomitch/cpython:patch-1Copy head branch name to clipboard

Conversation

@tyomitch

@tyomitch tyomitch commented Feb 5, 2019

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.)

@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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.