summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBerker Peksag <berker.peksag@gmail.com>2015-04-19 01:32:23 (GMT)
committerBerker Peksag <berker.peksag@gmail.com>2015-04-19 01:32:23 (GMT)
commite4dde50c78113a461bca9d238055fb9320595848 (patch)
tree26ca190dfb67111620a7888f20c20ae499e59522
parent2d965c255543695494463427a484389b11e6b730 (diff)
downloadcpython-e4dde50c78113a461bca9d238055fb9320595848.zip
cpython-e4dde50c78113a461bca9d238055fb9320595848.tar.gz
cpython-e4dde50c78113a461bca9d238055fb9320595848.tar.bz2
Issue #15566: Document encoding and errors parameters of TarInfo.frombuf().
Patch by Andy Holst.
-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 4536eca..8338ffa 100644
--- a/Doc/library/tarfile.rst
+++ b/Doc/library/tarfile.rst
@@ -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*.