[Python-checkins] cpython (2.7): Document that shutil.make_archive does not typecheck its logger argument
eric.araujo
python-checkins at python.org
Sun Feb 26 03:49:14 CET 2012
http://hg.python.org/cpython/rev/f3e4e9ffab88
changeset: 75272:f3e4e9ffab88
branch: 2.7
user: Éric Araujo <merwok at netwok.org>
date: Sun Feb 26 01:33:49 2012 +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
@@ -285,7 +285,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:: 2.7
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list