diff options
author | Éric Araujo <merwok@netwok.org> | 2012-02-26 01:33:49 +0100 |
---|---|---|
committer | Éric Araujo <merwok@netwok.org> | 2012-02-26 01:33:49 +0100 |
commit | c446ce78b84f8ccf162b90687723842e7117336e (patch) | |
tree | d6b0fac36ed046ba9e17f9fe8ba7fde1bb1facb1 | |
parent | 06efea3392e54b50f66e790735837e092585350f (diff) | |
download | cpython-git-c446ce78b84f8ccf162b90687723842e7117336e.tar.gz |
Document that shutil.make_archive does not typecheck its logger argument
-rw-r--r-- | Doc/library/shutil.rst | 3 |
1 files changed, 2 insertions, 1 deletions
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 |