commit | fd613498482fdc71ebda878196b996c00f85c382 | [log] [tgz] |
---|---|---|
author | Raymond Hettinger <python@rcn.com> | Fri May 23 03:43:29 2014 +0100 |
committer | Raymond Hettinger <python@rcn.com> | Fri May 23 03:43:29 2014 +0100 |
tree | 89fc0ed4a230e6ddfdcdc6a0429349aa316ff1e1 | |
parent | 198123c607323744ec5a35bce851f31b9244cacd [diff] |
Issue 21479: Fix markup for the TarFile.open() classmethod.
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 @@ .. versionadded:: 2.6 -.. method:: TarFile.open(...) +.. classmethod:: TarFile.open(...) Alternative constructor. The :func:`tarfile.open` function is actually a shortcut to this classmethod.