Issue #15566: Document encoding and errors parameters of TarInfo.frombuf().
Patch by Andy Holst.
This commit is contained in:
commit
0002d3ccf6
|
@ -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*.
|
||||
|
||||
|
|
Loading…
Reference in New Issue