summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2014-05-23 03:47:11 +0100
committerRaymond Hettinger <python@rcn.com>2014-05-23 03:47:11 +0100
commita3d58ae2f2bf586ed059cf3449c3075fde6135a4 (patch)
treeb8cf4d0d27cbdbdfe0d938d5bc9062a6c7b5b6f3
parent14d062f2f541966bf79fc058d3407249309c414d (diff)
parent7096e26983c5c8ce3e5f7dae42959e7ffe91bd5e (diff)
downloadcpython-git-a3d58ae2f2bf586ed059cf3449c3075fde6135a4.tar.gz
merge
-rw-r--r--Doc/library/tarfile.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/tarfile.rst b/Doc/library/tarfile.rst
index 740b185e23..1ef270358b 100644
--- a/Doc/library/tarfile.rst
+++ b/Doc/library/tarfile.rst
@@ -292,7 +292,7 @@ be finalized; only the internally used file object will be closed. See the
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.