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 9be2290 commit c5b23ebCopy full SHA for c5b23eb
1 file changed
Doc/reference/datamodel.rst
@@ -546,6 +546,7 @@ Special read-only attributes
546
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
547
548
.. index::
549
+ single: __builtins__ (function attribute)
550
single: __closure__ (function attribute)
551
single: __globals__ (function attribute)
552
pair: global; namespace
@@ -556,6 +557,12 @@ Special read-only attributes
556
557
* - Attribute
558
- Meaning
559
560
+ * - .. attribute:: function.__builtins__
561
+ - A reference to the :class:`dictionary <dict>` that holds the function's
562
+ builtins namespace.
563
+
564
+ .. versionadded:: 3.10
565
566
* - .. attribute:: function.__globals__
567
- A reference to the :class:`dictionary <dict>` that holds the function's
568
:ref:`global variables <naming>` -- the global namespace of the module
0 commit comments