File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -541,6 +541,7 @@ Special read-only attributes
541541~~~~~~~~~~~~~~~~~~~~~~~~~~~~
542542
543543.. index ::
544+ single: __builtins__ (function attribute)
544545 single: __closure__ (function attribute)
545546 single: __globals__ (function attribute)
546547 pair: global; namespace
@@ -551,6 +552,12 @@ Special read-only attributes
551552 * - Attribute
552553 - Meaning
553554
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+
554561 * - .. attribute:: function.__globals__
555562 - A reference to the :class: `dictionary <dict> ` that holds the function's
556563 :ref: `global variables <naming >` -- the global namespace of the module
You can’t perform that action at this time.
0 commit comments