[Python-checkins] cpython (2.7): Issue 21479: Fix markup for the TarFile.open() classmethod.
raymond.hettinger
python-checkins at python.org
Fri May 23 04:43:41 CEST 2014
http://hg.python.org/cpython/rev/e6a9beaff8c9
changeset: 90790:e6a9beaff8c9
branch: 2.7
user: Raymond Hettinger <python at rcn.com>
date: Fri May 23 03:43:29 2014 +0100
summary:
Issue 21479: Fix markup for the TarFile.open() classmethod.
files:
Doc/library/tarfile.rst | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Doc/library/tarfile.rst b/Doc/library/tarfile.rst
--- a/Doc/library/tarfile.rst
+++ b/Doc/library/tarfile.rst
@@ -305,7 +305,7 @@
.. versionadded:: 2.6
-.. method:: TarFile.open(...)
+.. classmethod:: TarFile.open(...)
Alternative constructor. The :func:`tarfile.open` function is actually a
shortcut to this classmethod.
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list