From 06c42a3fcab04420dc2c089bd7712bca99cf6be6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Araujo?= Date: Mon, 7 Nov 2011 17:31:07 +0100 Subject: [PATCH] Document that shutil.make_archive does not typecheck its logger argument --- Doc/library/shutil.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Doc/library/shutil.rst b/Doc/library/shutil.rst index a785682c0f0..8b4aabbb717 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