mirror of
https://github.com/python/cpython.git
synced 2025-11-02 11:08:57 +00:00
Issue #15566: Document encoding and errors parameters of TarInfo.frombuf().
Patch by Andy Holst.
This commit is contained in:
parent
2d965c2555
commit
e4dde50c78
1 changed files with 1 additions and 1 deletions
|
|
@ -465,7 +465,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