Repository navigation
gh-153528: Document mode="func_type" in compile() - #153561
JelleZijlstra merged 2 commits into
Conversation
Documentation build overview
429 files changed ·
|
|
According to the Dev Guide, document changes don't need a news entry file. |
|
@aisk Done! I've removed the NEWS entry. Thanks! |
|
This PR is stale because it has been open for 90 days with no activity. |
01a5dcd to
670b8db
Compare
|
Rebased onto the latest main branch and resolved the merge conflict caused by the recent documentation move into Doc/builtins/. The branch is up to date and ready for review. |
| interactive statement (in the latter case, expression statements that | ||
| evaluate to something other than ``None`` will be printed). | ||
| It can also be ``'func_type'`` if *source* consists of a single :pep:`484` | ||
| signature type comment; see :func:`ast.parse` for more information. |
There was a problem hiding this comment.
It's better to add a versionchanged section to mention which version this type was added
There was a problem hiding this comment.
Added mode='func_type' to the versionchanged:: 3.8 directive.
670b8db to
1803b81
Compare
1803b81 to
ed5a5f0
Compare
|
Thanks @pranavchoudhary-tech for the PR, and @JelleZijlstra for merging it 🌮🎉.. I'm working now to backport this PR to: 3.14, 3.15. |
|
GH-160479 is a backport of this pull request to the 3.15 branch. |
|
GH-160481 is a backport of this pull request to the 3.14 branch. |
|
Thanks for documenting func_type. |
Fixes #153528.
This adds a brief documentation note to
compile()explaining thefunc_typemode and linking it toast.parsefor more details.(Note: This replaces the previous PR #153542 which was accidentally submitted with unrelated commits from another branch).
func_typemode is not documented #153528