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

Skip to content

Commit 0002d3c

Browse files
committed
Issue #15566: Document encoding and errors parameters of TarInfo.frombuf().
Patch by Andy Holst.
2 parents 1a16a83 + e4dde50 commit 0002d3c

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

506506

507-
.. method:: TarInfo.frombuf(buf)
507+
.. method:: TarInfo.frombuf(buf, encoding, errors)
508508

509509
Create and return a :class:`TarInfo` object from string buffer *buf*.
510510

0 commit comments

Comments
 (0)