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

Skip to content

Commit e4dde50

Browse files
committed
Issue #15566: Document encoding and errors parameters of TarInfo.frombuf().
Patch by Andy Holst.
1 parent 2d965c2 commit e4dde50

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
@@ -465,7 +465,7 @@ It does *not* contain the file's data itself.
465465
Create a :class:`TarInfo` object.
466466

467467

468-
.. method:: TarInfo.frombuf(buf)
468+
.. method:: TarInfo.frombuf(buf, encoding, errors)
469469

470470
Create and return a :class:`TarInfo` object from string buffer *buf*.
471471

0 commit comments

Comments
 (0)