From 4f4e108aee1beaa50258fc6e461deb45b78bbb4e Mon Sep 17 00:00:00 2001 From: Casper da Costa-Luis Date: Thu, 16 Jul 2020 21:04:17 +0100 Subject: [PATCH] minor doc update --- .meta/.readme.rst | 3 +-- README.rst | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.meta/.readme.rst b/.meta/.readme.rst index 02336723..3440e1bf 100644 --- a/.meta/.readme.rst +++ b/.meta/.readme.rst @@ -392,8 +392,7 @@ Returns @classmethod @contextmanager - def wrapattr(tclass, stream, method, total=None, bytes=True, - **tqdm_kwargs): + def wrapattr(cls, stream, method, total=None, bytes=True, **tqdm_kwargs): """{DOC_tqdm.tqdm.wrapattr}""" @classmethod diff --git a/README.rst b/README.rst index 7c899274..5c08e12d 100644 --- a/README.rst +++ b/README.rst @@ -580,8 +580,7 @@ Returns @classmethod @contextmanager - def wrapattr(tclass, stream, method, total=None, bytes=True, - **tqdm_kwargs): + def wrapattr(cls, stream, method, total=None, bytes=True, **tqdm_kwargs): """ stream : file-like object. method : str, "read" or "write". The result of ``read()`` and