From fd613498482fdc71ebda878196b996c00f85c382 Mon Sep 17 00:00:00 2001 From: Raymond Hettinger Date: Fri, 23 May 2014 03:43:29 +0100 Subject: Issue 21479: Fix markup for the TarFile.open() classmethod. --- Doc/library/tarfile.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/tarfile.rst b/Doc/library/tarfile.rst index 99a9f2b..1c6b67c 100644 --- a/Doc/library/tarfile.rst +++ b/Doc/library/tarfile.rst @@ -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. -- cgit v0.12