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

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


https://hg.python.org/cpython/rev/d737ab3ea1ae
changeset:   95708:d737ab3ea1ae
branch:      3.4
parent:      95706:968c086bf6cc
user:        Berker Peksag <berker.peksag at gmail.com>
date:        Sun Apr 19 04:32:23 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
@@ -465,7 +465,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