Skip to content

Commit 7bf059d

Browse files
doc: adjust wording in function.__closure__ clarification
1 parent 7d10d7f commit 7bf059d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/reference/datamodel.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -570,7 +570,7 @@ Special read-only attributes
570570
This can be used to get the value of the cell, as well as set the value.
571571

572572
Only names that are actually referenced in the function body are
573-
listed in :attr:`~codeobject.co_freevars` and therefore produce
573+
listed in :attr:`~codeobject.co_freevars` and therefore have
574574
entries in ``function.__closure__``. Variables defined in an
575575
enclosing scope but never referenced inside the function do not
576576
appear in the closure.

0 commit comments

Comments
 (0)