diff options
author | Raymond Hettinger <python@rcn.com> | 2014-05-23 02:46:52 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2014-05-23 02:46:52 (GMT) |
commit | 7096e26983c5c8ce3e5f7dae42959e7ffe91bd5e (patch) | |
tree | 0dcac36283f229c40d0efd2b168ca78ad1424295 /Doc/library | |
parent | f7f64f94b1b9658d9a7567373fa2c84d2d82e5ab (diff) | |
download | cpython-7096e26983c5c8ce3e5f7dae42959e7ffe91bd5e.zip cpython-7096e26983c5c8ce3e5f7dae42959e7ffe91bd5e.tar.gz cpython-7096e26983c5c8ce3e5f7dae42959e7ffe91bd5e.tar.bz2 |
Issue 21479: Fix markup for the TarFile.open() classmethod.
Diffstat (limited to 'Doc/library')
-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 740b185..1ef2703 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. |