Remove the "private" _total parameter

This commit is contained in:
Lonami Exo
2019-02-27 12:59:50 +01:00
parent bf71e49fcc
commit d508e58d49
3 changed files with 6 additions and 14 deletions

View File

@@ -189,7 +189,8 @@ class ChatMethods(UserMethods):
def iter_participants(
self, entity, limit=None, *, search='',
filter=None, aggressive=False, _total=None):
filter=None, aggressive=False
):
"""
Iterator over the participants belonging to the specified chat.
@@ -227,9 +228,6 @@ class ChatMethods(UserMethods):
This has no effect if a ``filter`` is given.
_total (`list`, optional):
A single-item list to pass the total parameter by reference.
Yields:
The :tl:`User` objects returned by :tl:`GetParticipantsRequest`
with an additional ``.participant`` attribute which is the