aboutsummaryrefslogtreecommitdiff
path: root/docs/migrating.rst
diff options
context:
space:
mode:
authorRapptz <[email protected]>2016-01-30 06:07:06 -0500
committerRapptz <[email protected]>2016-01-30 06:07:06 -0500
commit94d31834fc52ba2887b2f00b2756790c96cf22b9 (patch)
tree63d6167ca4f0095b599a258aad22d760f2f54da4 /docs/migrating.rst
parentUpdate member references when status changes. (diff)
downloaddiscord.py-94d31834fc52ba2887b2f00b2756790c96cf22b9.tar.xz
discord.py-94d31834fc52ba2887b2f00b2756790c96cf22b9.zip
Change enumerators into enumerations to please Voltana.
Diffstat (limited to 'docs/migrating.rst')
-rw-r--r--docs/migrating.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/migrating.rst b/docs/migrating.rst
index 5e909e0f..df0526c2 100644
--- a/docs/migrating.rst
+++ b/docs/migrating.rst
@@ -163,11 +163,11 @@ In order to get the old behaviour you should explicitly cast it to a list.
.. _migrating-enums:
-Enumerators
+Enumerations
------------
Due to dropping support for versions lower than Python 3.4.2, the library can now use
-`enumerators <https://docs.python.org/3/library/enum.html>`_ in places where it makes sense.
+`enumerations <https://docs.python.org/3/library/enum.html>`_ in places where it makes sense.
The common places where this was changed was in the server region, member status, and channel type.
@@ -187,7 +187,7 @@ After:
member.status = discord.Status.online
channel.type == discord.ChannelType.text
-The main reason for this change was to reduce the use of finnicky strings in the API as this
+The main reason for this change was to reduce the use of finicky strings in the API as this
could give users a false sense of power. More information can be found in the :ref:`discord-api-enums` page.
.. _migrating-properties: