summaryrefslogtreecommitdiffstats
path: root/Doc/library/shutil.rst
diff options
context:
space:
mode:
authorÉric Araujo <merwok@netwok.org>2011-11-07 16:31:07 (GMT)
committerÉric Araujo <merwok@netwok.org>2011-11-07 16:31:07 (GMT)
commit06c42a3fcab04420dc2c089bd7712bca99cf6be6 (patch)
tree6c173a837028b81f7e895e560a260364f388da5b /Doc/library/shutil.rst
parent3bd56387360e0b5ab1930640d0c4830c7fd6de23 (diff)
downloadcpython-06c42a3fcab04420dc2c089bd7712bca99cf6be6.zip
cpython-06c42a3fcab04420dc2c089bd7712bca99cf6be6.tar.gz
cpython-06c42a3fcab04420dc2c089bd7712bca99cf6be6.tar.bz2
Document that shutil.make_archive does not typecheck its logger argument
Diffstat (limited to 'Doc/library/shutil.rst')
-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 a785682..8b4aabb 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