diff options
author | Raymond Hettinger <python@rcn.com> | 2014-05-23 02:43:29 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2014-05-23 02:43:29 (GMT) |
commit | fd613498482fdc71ebda878196b996c00f85c382 (patch) | |
tree | 89fc0ed4a230e6ddfdcdc6a0429349aa316ff1e1 | |
parent | 198123c607323744ec5a35bce851f31b9244cacd (diff) | |
download | cpython-fd613498482fdc71ebda878196b996c00f85c382.zip cpython-fd613498482fdc71ebda878196b996c00f85c382.tar.gz cpython-fd613498482fdc71ebda878196b996c00f85c382.tar.bz2 |
Issue 21479: Fix markup for the TarFile.open() classmethod.
-rw-r--r-- | Doc/library/tarfile.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/tarfile.rst b/Doc/library/tarfile.rst index 99a9f2b..1c6b67c 100644 --- a/Doc/library/tarfile.rst +++ b/Doc/library/tarfile.rst @@ -305,7 +305,7 @@ be finalized; only the internally used file object will be closed. See the .. versionadded:: 2.6 -.. method:: TarFile.open(...) +.. classmethod:: TarFile.open(...) Alternative constructor. The :func:`tarfile.open` function is actually a shortcut to this classmethod. |