[Python-checkins] Fix a typo in the Programming FAQ. (#3230)

Gregory P. Smith webhook-mailer at python.org
Mon Aug 28 16:43:29 EDT 2017


https://github.com/python/cpython/commit/e9d978fd1bc122395efc91a82b16b2c4b968441d
commit: e9d978fd1bc122395efc91a82b16b2c4b968441d
branch: master
author: Gregory P. Smith <greg at krypto.org>
committer: GitHub <noreply at github.com>
date: 2017-08-28T13:43:26-07:00
summary:

Fix a typo in the Programming FAQ. (#3230)

subobjects, not subobjecs.

files:
M Doc/faq/programming.rst

diff --git a/Doc/faq/programming.rst b/Doc/faq/programming.rst
index d9bdb21e79a..1022373d387 100644
--- a/Doc/faq/programming.rst
+++ b/Doc/faq/programming.rst
@@ -1638,7 +1638,7 @@ collected.
 
 Despite the cycle collector, it's still a good idea to define an explicit
 ``close()`` method on objects to be called whenever you're done with them.  The
-``close()`` method can then remove attributes that refer to subobjecs.  Don't
+``close()`` method can then remove attributes that refer to subobjects.  Don't
 call :meth:`__del__` directly -- :meth:`__del__` should call ``close()`` and
 ``close()`` should make sure that it can be called more than once for the same
 object.



More information about the Python-checkins mailing list