diff options
| author | Raymond Hettinger <python@rcn.com> | 2014-05-23 03:46:52 +0100 |
|---|---|---|
| committer | Raymond Hettinger <python@rcn.com> | 2014-05-23 03:46:52 +0100 |
| commit | 7096e26983c5c8ce3e5f7dae42959e7ffe91bd5e (patch) | |
| tree | 0dcac36283f229c40d0efd2b168ca78ad1424295 | |
| parent | f7f64f94b1b9658d9a7567373fa2c84d2d82e5ab (diff) | |
| download | cpython-git-7096e26983c5c8ce3e5f7dae42959e7ffe91bd5e.tar.gz | |
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 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. |
