aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRapptz <[email protected]>2017-05-15 02:29:03 -0400
committerRapptz <[email protected]>2017-05-15 02:29:03 -0400
commit40235100320e5dcea6c480f48bd4aa94421eec2a (patch)
tree0ae8add3198b888f7bd953df8c596aac92b79328
parentFix all broken cross references in the migrating page... again. (diff)
downloaddiscord.py-40235100320e5dcea6c480f48bd4aa94421eec2a.tar.xz
discord.py-40235100320e5dcea6c480f48bd4aa94421eec2a.zip
Use describe for Colour documentation.
-rw-r--r--discord/colour.py28
1 files changed, 15 insertions, 13 deletions
diff --git a/discord/colour.py b/discord/colour.py
index f6dc7226..5c9e31f2 100644
--- a/discord/colour.py
+++ b/discord/colour.py
@@ -30,19 +30,21 @@ class Colour:
There is an alias for this called Color.
- Supported operations:
-
- +-----------+----------------------------------------+
- | Operation | Description |
- +===========+========================================+
- | x == y | Checks if two colours are equal. |
- +-----------+----------------------------------------+
- | x != y | Checks if two colours are not equal. |
- +-----------+----------------------------------------+
- | hash(x) | Return the colour's hash. |
- +-----------+----------------------------------------+
- | str(x) | Returns the hex format for the colour. |
- +-----------+----------------------------------------+
+ .. describe:: x == y
+
+ Checks if two colours are equal.
+
+ .. describe:: x != y
+
+ Checks if two colours are not equal.
+
+ .. describe:: hash(x)
+
+ Return the colour's hash.
+
+ .. describe:: str(x)
+
+ Returns the hex format for the colour.
Attributes
------------