]> granicus.if.org Git - python/commitdiff
Document that shutil.make_archive does not typecheck its logger argument
authorÉric Araujo <merwok@netwok.org>
Sun, 26 Feb 2012 00:33:49 +0000 (01:33 +0100)
committerÉric Araujo <merwok@netwok.org>
Sun, 26 Feb 2012 00:33:49 +0000 (01:33 +0100)
Doc/library/shutil.rst

index a330018a418c72cf2dc529cec25f6b2c724a0004..31231b662adf062927e0803895f0550fce83c9f4 100644 (file)
@@ -285,7 +285,8 @@ provided.  They rely on the :mod:`zipfile` and :mod:`tarfile` modules.
    *owner* and *group* are used when creating a tar archive. By default,
    uses the current owner and group.
 
-   *logger* is an instance of :class:`logging.Logger`.
+   *logger* must be an object compatible with :pep:`282`, usually an instance of
+   :class:`logging.Logger`.
 
    .. versionadded:: 2.7