From: Berker Peksag Date: Sun, 19 Apr 2015 01:32:23 +0000 (+0300) Subject: Issue #15566: Document encoding and errors parameters of TarInfo.frombuf(). X-Git-Tag: v3.5.0a4~7^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e4dde50c78113a461bca9d238055fb9320595848;p=thirdparty%2FPython%2Fcpython.git Issue #15566: Document encoding and errors parameters of TarInfo.frombuf(). Patch by Andy Holst. --- diff --git a/Doc/library/tarfile.rst b/Doc/library/tarfile.rst index 4536ecaab044..8338ffa8008f 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*.