mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-09-06 09:56:09 +00:00
Remove NoMoreItems
This commit is contained in:
committed by
GitHub
parent
b77cf500a2
commit
01906f37f1
@ -4053,8 +4053,6 @@ The following exceptions are thrown by the library.
|
||||
|
||||
.. autoexception:: LoginFailure
|
||||
|
||||
.. autoexception:: NoMoreItems
|
||||
|
||||
.. autoexception:: HTTPException
|
||||
:members:
|
||||
|
||||
@ -4091,7 +4089,6 @@ Exception Hierarchy
|
||||
- :exc:`ConnectionClosed`
|
||||
- :exc:`PrivilegedIntentsRequired`
|
||||
- :exc:`InteractionResponded`
|
||||
- :exc:`NoMoreItems`
|
||||
- :exc:`GatewayNotFound`
|
||||
- :exc:`HTTPException`
|
||||
- :exc:`Forbidden`
|
||||
|
@ -791,6 +791,9 @@ The return type of the following methods has been changed to an :term:`asynchron
|
||||
- :meth:`Guild.fetch_members`
|
||||
- :meth:`Reaction.users`
|
||||
|
||||
The ``NoMoreItems`` exception was removed as calling :func:`anext` or :meth:`~object.__anext__` on an
|
||||
:term:`asynchronous iterator` will now raise :class:`StopAsyncIteration`.
|
||||
|
||||
Removal of ``InvalidArgument`` Exception
|
||||
-------------------------------------------
|
||||
|
||||
|
Reference in New Issue
Block a user