summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorBerker Peksag <berker.peksag@gmail.com>2015-04-19 01:32:52 (GMT)
committerBerker Peksag <berker.peksag@gmail.com>2015-04-19 01:32:52 (GMT)
commit0002d3ccf602fc4e594c017dd5bb595e8fb1c1b4 (patch)
treeb94eabbac12797efb8f4333e77e9b0558872620e /Doc
parent1a16a8340a00f30fa9bb060319cd6fbb80cf2435 (diff)
parente4dde50c78113a461bca9d238055fb9320595848 (diff)
downloadcpython-0002d3ccf602fc4e594c017dd5bb595e8fb1c1b4.zip
cpython-0002d3ccf602fc4e594c017dd5bb595e8fb1c1b4.tar.gz
cpython-0002d3ccf602fc4e594c017dd5bb595e8fb1c1b4.tar.bz2
Issue #15566: Document encoding and errors parameters of TarInfo.frombuf().
Patch by Andy Holst.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/tarfile.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/tarfile.rst b/Doc/library/tarfile.rst
index 67796eb..4ca131b 100644
--- a/Doc/library/tarfile.rst
+++ b/Doc/library/tarfile.rst
@@ -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*.