mirror of
https://github.com/python/cpython.git
synced 2024-12-16 21:34:44 +08:00
Issue #15566: Document encoding and errors parameters of TarInfo.frombuf().
Patch by Andy Holst.
This commit is contained in:
parent
2d965c2555
commit
e4dde50c78
@ -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…
Reference in New Issue
Block a user