Rename NoMoreMessages to NoMoreItems.

This commit is contained in:
Rapptz
2017-01-11 19:53:29 -05:00
parent 8c274139df
commit 06ca518459
4 changed files with 12 additions and 9 deletions

View File

@ -38,9 +38,10 @@ class ClientException(DiscordException):
"""
pass
class NoMoreMessages(DiscordException):
"""Exception that is thrown when a ``history`` operation has no more
messages. This is only exposed for Python 3.4 only.
class NoMoreItems(DiscordException):
"""Exception that is thrown when an async iteration operation has no more
items. This is mainly exposed for Python 3.4 support where `StopAsyncIteration`
is not provided.
"""
pass