From: Raymond Hettinger Date: Fri, 23 May 2014 02:46:52 +0000 (+0100) Subject: Issue 21479: Fix markup for the TarFile.open() classmethod. X-Git-Tag: v3.4.2rc1~516 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7096e26983c5c8ce3e5f7dae42959e7ffe91bd5e;p=python Issue 21479: Fix markup for the TarFile.open() classmethod. --- 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.