]> granicus.if.org Git - python/commitdiff
Fix a typo in the Programming FAQ. (#3230)
authorGregory P. Smith <greg@krypto.org>
Mon, 28 Aug 2017 20:43:26 +0000 (13:43 -0700)
committerGitHub <noreply@github.com>
Mon, 28 Aug 2017 20:43:26 +0000 (13:43 -0700)
subobjects, not subobjecs.

Doc/faq/programming.rst

index d9bdb21e79ac668bdb43fa554cd03fd98e21a3f3..1022373d3871ec503becfca1c53a9a6b33bfdd75 100644 (file)
@@ -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.