From: Éric Araujo Date: Mon, 7 Nov 2011 16:31:07 +0000 (+0100) Subject: Document that shutil.make_archive does not typecheck its logger argument X-Git-Tag: v3.2.3rc1~413 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=06c42a3fcab04420dc2c089bd7712bca99cf6be6;p=thirdparty%2FPython%2Fcpython.git Document that shutil.make_archive does not typecheck its logger argument --- diff --git a/Doc/library/shutil.rst b/Doc/library/shutil.rst index a785682c0f01..8b4aabbb717d 100644 --- a/Doc/library/shutil.rst +++ b/Doc/library/shutil.rst @@ -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