diff options
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/inspect.rst | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Doc/library/inspect.rst b/Doc/library/inspect.rst index 3994850..3b36379 100644 --- a/Doc/library/inspect.rst +++ b/Doc/library/inspect.rst @@ -625,6 +625,16 @@ function. 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``. + .. attribute:: Parameter.default The default value for the parameter. If the parameter has no default |