We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fdac87a commit f9f0a78Copy full SHA for f9f0a78
1 file changed
Doc/reference/datamodel.rst
@@ -541,6 +541,7 @@ Special read-only attributes
541
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
542
543
.. index::
544
+ single: __builtins__ (function attribute)
545
single: __closure__ (function attribute)
546
single: __globals__ (function attribute)
547
pair: global; namespace
@@ -551,6 +552,12 @@ Special read-only attributes
551
552
* - Attribute
553
- Meaning
554
555
+ * - .. attribute:: function.__builtins__
556
+ - A reference to the :class:`dictionary <dict>` that holds the function's
557
+ builtins namespace.
558
+
559
+ .. versionadded:: 3.10
560
561
* - .. attribute:: function.__globals__
562
- A reference to the :class:`dictionary <dict>` that holds the function's
563
:ref:`global variables <naming>` -- the global namespace of the module
0 commit comments