Commit 716a2b06 authored by Berker Peksag's avatar Berker Peksag

Issue #15566: Document encoding and errors parameters of TarInfo.frombuf().

Patch by Andy Holst.
parents 93436d22 00768a7d
......@@ -504,7 +504,7 @@ It does *not* contain the file's data itself.
Create a :class:`TarInfo` object.
.. method:: TarInfo.frombuf(buf)
.. method:: TarInfo.frombuf(buf, encoding, errors)
Create and return a :class:`TarInfo` object from string buffer *buf*.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment