diff --git a/Doc/library/tarfile.rst b/Doc/library/tarfile.rst index 67796ebc764..4ca131bcadd 100644 --- a/Doc/library/tarfile.rst +++ b/Doc/library/tarfile.rst @@ -504,7 +504,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*.