]> granicus.if.org Git - python/commitdiff
Document that shutil.make_archive does not typecheck its logger argument
authorÉric Araujo <merwok@netwok.org>
Mon, 7 Nov 2011 16:31:07 +0000 (17:31 +0100)
committerÉric Araujo <merwok@netwok.org>
Mon, 7 Nov 2011 16:31:07 +0000 (17:31 +0100)
Doc/library/shutil.rst

index a785682c0f0123f737f0e3d59198ce0d77d8c6d9..8b4aabbb717d938c0a3015467d7d73ed87bc9a53 100644 (file)
@@ -269,7 +269,8 @@ Archiving operations
    *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:: 3.2