summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorÉric Araujo <merwok@netwok.org>2011-11-07 17:31:07 +0100
committerÉric Araujo <merwok@netwok.org>2011-11-07 17:31:07 +0100
commit06c42a3fcab04420dc2c089bd7712bca99cf6be6 (patch)
tree6c173a837028b81f7e895e560a260364f388da5b
parent3bd56387360e0b5ab1930640d0c4830c7fd6de23 (diff)
downloadcpython-git-06c42a3fcab04420dc2c089bd7712bca99cf6be6.tar.gz
Document that shutil.make_archive does not typecheck its logger argument
-rw-r--r--Doc/library/shutil.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/library/shutil.rst b/Doc/library/shutil.rst
index a785682c0f..8b4aabbb71 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