]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Merged revisions 69078-69080 via svnmerge from
authorBrett Cannon <bcannon@gmail.com>
Thu, 29 Jan 2009 04:10:21 +0000 (04:10 +0000)
committerBrett Cannon <bcannon@gmail.com>
Thu, 29 Jan 2009 04:10:21 +0000 (04:10 +0000)
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r69078 | brett.cannon | 2009-01-28 16:54:11 -0800 (Wed, 28 Jan 2009) | 2 lines

  Clarify some __del__ stuff.
........
  r69079 | brett.cannon | 2009-01-28 16:54:32 -0800 (Wed, 28 Jan 2009) | 2 lines

  Minor spelling mistake in datetime docs.
........
  r69080 | brett.cannon | 2009-01-28 16:55:33 -0800 (Wed, 28 Jan 2009) | 2 lines

  Ignore .pyc and .pyo files.
........

Doc/library/datetime.rst
Doc/reference/datamodel.rst

index e25d042ff9dcdd25aab60f58923f7f265c66a1b5..f08272658999c2ad43510d9d08399918838f2d2b 100644 (file)
@@ -1266,7 +1266,7 @@ Example:
 :class:`tzinfo` Objects
 -----------------------
 
-:class:`tzinfo` is an abstract base clase, meaning that this class should not be
+:class:`tzinfo` is an abstract base class, meaning that this class should not be
 instantiated directly.  You need to derive a concrete subclass, and (at least)
 supply implementations of the standard :class:`tzinfo` methods needed by the
 :class:`datetime` methods you use.  The :mod:`datetime` module does not supply
index 502305ddf8c990a684c3e39dc034a04c2054f7ff..3fda6a4a68fd4bd46388224f020b0af99de40ba4 100644 (file)
@@ -1096,7 +1096,9 @@ Basic customization
       is printed to ``sys.stderr`` instead.  Also, when :meth:`__del__` is invoked in
       response to a module being deleted (e.g., when execution of the program is
       done), other globals referenced by the :meth:`__del__` method may already have
-      been deleted.  For this reason, :meth:`__del__` methods should do the absolute
+      been deleted or in the process of being torn down (e.g. the import
+      machinery shutting down).  For this reason, :meth:`__del__` methods
+      should do the absolute
       minimum needed to maintain external invariants.  Starting with version 1.5,
       Python guarantees that globals whose name begins with a single underscore are
       deleted from their module before other globals are deleted; if no other