From: Éric Araujo Date: Sun, 26 Feb 2012 00:33:49 +0000 (+0100) Subject: Document that shutil.make_archive does not typecheck its logger argument X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c446ce78b84f8ccf162b90687723842e7117336e;p=python Document that shutil.make_archive does not typecheck its logger argument --- diff --git a/Doc/library/shutil.rst b/Doc/library/shutil.rst index a330018a41..31231b662a 100644 --- a/Doc/library/shutil.rst +++ b/Doc/library/shutil.rst @@ -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