[Python-checkins] cpython (3.4): Issue 21479: Fix markup for the TarFile.open() classmethod.

raymond.hettinger python-checkins at python.org
Fri May 23 04:47:22 CEST 2014


http://hg.python.org/cpython/rev/37d2a6bcf7ae
changeset: 90791:37d2a6bcf7ae
branch: 3.4
parent: 90787:630bc60cba04
user: Raymond Hettinger <python at rcn.com>
date: Fri May 23 03:46:52 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
@@ -292,7 +292,7 @@
 will be added as a pax global header if *format* is :const:`PAX_FORMAT`.
 
 
-.. 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

AltStyle によって変換されたページ (->オリジナル) /