Skip to content

Commit fd61349

Browse files
committed
Issue 21479: Fix markup for the TarFile.open() classmethod.
1 parent 198123c commit fd61349

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/tarfile.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ be finalized; only the internally used file object will be closed. See the
305305
.. versionadded:: 2.6
306306

307307

308-
.. method:: TarFile.open(...)
308+
.. classmethod:: TarFile.open(...)
309309

310310
Alternative constructor. The :func:`tarfile.open` function is actually a
311311
shortcut to this classmethod.

0 commit comments

Comments
 (0)