[Python-checkins] cpython (merge 3.4 -> default): Issue #15566: Document encoding and errors parameters of TarInfo.frombuf().

berker.peksag python-checkins at python.org
Sun Apr 19 03:32:39 CEST 2015


https://hg.python.org/cpython/rev/85cba64e24dc
changeset:   95709:85cba64e24dc
parent:      95707:439517000aa2
parent:      95708:d737ab3ea1ae
user:        Berker Peksag <berker.peksag at gmail.com>
date:        Sun Apr 19 04:32:52 2015 +0300
summary:
  Issue #15566: Document encoding and errors parameters of TarInfo.frombuf().

Patch by Andy Holst.

files:
  Doc/library/tarfile.rst |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Doc/library/tarfile.rst b/Doc/library/tarfile.rst
--- a/Doc/library/tarfile.rst
+++ b/Doc/library/tarfile.rst
@@ -504,7 +504,7 @@
    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*.
 

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list