Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1)

Unified Diff: Doc/library/inspect.rst

Issue 19611: inspect.getcallargs doesn't properly interpret set comprehension code objects.
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | Lib/inspect.py » ('j') | Lib/inspect.py » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
--- a/Doc/library/inspect.rst Thu Jun 02 19:38:20 2016 -0400
+++ b/Doc/library/inspect.rst Fri Jun 03 09:17:33 2016 -0700
@@ -625,6 +625,16 @@
The name of the parameter as a string. The name must be a valid
Python identifier.
+ .. impl-detail::
+
+ CPython generates implicit parameter names of the form ``.0`` on the
+ code objects used to implement comprehensions and generator
+ expressions.
+
+ .. versionchanged:: 3.6
+ These parameter names are exposed by this module as names like
+ ``implicit0``.
r.david.murray 2016/06/04 02:01:16 How about: .. impl-detail:: .. versionchanged
+
.. attribute:: Parameter.default
The default value for the parameter. If the parameter has no default
« no previous file with comments | « no previous file | Lib/inspect.py » ('j') | Lib/inspect.py » ('J')

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+