Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7096e26

Browse files
committed
Issue 21479: Fix markup for the TarFile.open() classmethod.
1 parent f7f64f9 commit 7096e26

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Doc/library/tarfile.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ be finalized; only the internally used file object will be closed. See the
292292
will be added as a pax global header if *format* is :const:`PAX_FORMAT`.
293293

294294

295-
.. method:: TarFile.open(...)
295+
.. classmethod:: TarFile.open(...)
296296

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

0 commit comments

Comments
 (0)