]> granicus.if.org Git - python/commitdiff
Issue 21479: Fix markup for the TarFile.open() classmethod.
authorRaymond Hettinger <python@rcn.com>
Fri, 23 May 2014 02:43:29 +0000 (03:43 +0100)
committerRaymond Hettinger <python@rcn.com>
Fri, 23 May 2014 02:43:29 +0000 (03:43 +0100)
Doc/library/tarfile.rst

index 99a9f2bf8a9a0e3f580d729f09de8dd5d73cd2a6..1c6b67c27b68cf8fe1564cb6fd09d757802aaec9 100644 (file)
@@ -305,7 +305,7 @@ be finalized; only the internally used file object will be closed. See the
    .. versionadded:: 2.6
 
 
-.. method:: TarFile.open(...)
+.. classmethod:: TarFile.open(...)
 
    Alternative constructor. The :func:`tarfile.open` function is actually a
    shortcut to this classmethod.