Make supported operations stand out more than attributes.

This commit is contained in:
Rapptz
2017-05-20 02:08:34 -04:00
parent 3727618b65
commit f4e01b3a92
11 changed files with 169 additions and 127 deletions

View File

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