]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Issue #15566: Document encoding and errors parameters of TarInfo.frombuf().
authorBerker Peksag <berker.peksag@gmail.com>
Sun, 19 Apr 2015 01:32:23 +0000 (04:32 +0300)
committerBerker Peksag <berker.peksag@gmail.com>
Sun, 19 Apr 2015 01:32:23 +0000 (04:32 +0300)
Patch by Andy Holst.

Doc/library/tarfile.rst

index 4536ecaab0441894434a15066075e970ece62115..8338ffa8008f3c6121b4a9cb42698146e8ca9899 100644 (file)
@@ -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*.