Use describe for Colour documentation.

This commit is contained in:
Rapptz 2017-05-15 02:29:03 -04:00
parent d80e08c1c6
commit 4023510032

View File

@ -30,19 +30,21 @@ class Colour:
There is an alias for this called Color. There is an alias for this called Color.
Supported operations: .. describe:: x == y
+-----------+----------------------------------------+ Checks if two colours are equal.
| Operation | Description |
+===========+========================================+ .. describe:: x != y
| x == y | Checks if two colours are equal. |
+-----------+----------------------------------------+ Checks if two colours are not equal.
| x != y | Checks if two colours are not equal. |
+-----------+----------------------------------------+ .. describe:: hash(x)
| hash(x) | Return the colour's hash. |
+-----------+----------------------------------------+ Return the colour's hash.
| str(x) | Returns the hex format for the colour. |
+-----------+----------------------------------------+ .. describe:: str(x)
Returns the hex format for the colour.
Attributes Attributes
------------ ------------