[Python-checkins] cpython (3.2): Document that shutil.make_archive does not typecheck its logger argument

eric.araujo python-checkins at python.org
Mon Nov 7 18:11:44 CET 2011


http://hg.python.org/cpython/rev/0e5d82c86cd7
changeset:   73429:0e5d82c86cd7
branch:      3.2
parent:      73419:bc05c11b340e
user:        Éric Araujo <merwok at netwok.org>
date:        Mon Nov 07 17:31:07 2011 +0100
summary:
  Document that shutil.make_archive does not typecheck its logger argument

files:
  Doc/library/shutil.rst |  3 ++-
  1 files changed, 2 insertions(+), 1 deletions(-)


diff --git a/Doc/library/shutil.rst b/Doc/library/shutil.rst
--- a/Doc/library/shutil.rst
+++ b/Doc/library/shutil.rst
@@ -269,7 +269,8 @@
    *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
 

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list