mirror of
https://github.com/python/cpython.git
synced 2025-07-29 14:15:07 +00:00
Issue #15566: Document encoding and errors parameters of TarInfo.frombuf().
Patch by Andy Holst.
This commit is contained in:
commit
0002d3ccf6
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue