minor doc update

This commit is contained in:
Casper da Costa-Luis 2020-07-16 21:04:17 +01:00
parent 60386cc3f7
commit 4f4e108aee
No known key found for this signature in database
GPG Key ID: 986B408043AE090D
2 changed files with 2 additions and 4 deletions

View File

@ -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

View File

@ -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