Skip to content

Commit e9d978f

Browse files
authored
Fix a typo in the Programming FAQ. (#3230)
subobjects, not subobjecs.
1 parent 07f1658 commit e9d978f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/faq/programming.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1638,7 +1638,7 @@ collected.
16381638

16391639
Despite the cycle collector, it's still a good idea to define an explicit
16401640
``close()`` method on objects to be called whenever you're done with them. The
1641-
``close()`` method can then remove attributes that refer to subobjecs. Don't
1641+
``close()`` method can then remove attributes that refer to subobjects. Don't
16421642
call :meth:`__del__` directly -- :meth:`__del__` should call ``close()`` and
16431643
``close()`` should make sure that it can be called more than once for the same
16441644
object.

0 commit comments

Comments
 (0)