commit | 7096e26983c5c8ce3e5f7dae42959e7ffe91bd5e | [log] [tgz] |
---|---|---|
author | Raymond Hettinger <python@rcn.com> | Fri May 23 03:46:52 2014 +0100 |
committer | Raymond Hettinger <python@rcn.com> | Fri May 23 03:46:52 2014 +0100 |
tree | 0dcac36283f229c40d0efd2b168ca78ad1424295 | |
parent | f7f64f94b1b9658d9a7567373fa2c84d2d82e5ab [diff] |
Issue 21479: Fix markup for the TarFile.open() classmethod.
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 @@ 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.