From f73eb087c99a0ee73b9a46500225464ab866c625 Mon Sep 17 00:00:00 2001 From: Rapptz Date: Sat, 13 May 2017 18:48:14 -0400 Subject: Use describe instead of tables for supported operations. --- discord/invite.py | 28 +++++++++++++++------------- 1 file changed, 15 insertions(+), 13 deletions(-) (limited to 'discord/invite.py') diff --git a/discord/invite.py b/discord/invite.py index 44aa90f6..2139500c 100644 --- a/discord/invite.py +++ b/discord/invite.py @@ -36,19 +36,21 @@ class Invite(Hashable): Depending on the way this object was created, some of the attributes can have a value of ``None``. - Supported Operations: - - +-----------+--------------------------------------+ - | Operation | Description | - +===========+======================================+ - | x == y | Checks if two invites are equal. | - +-----------+--------------------------------------+ - | x != y | Checks if two invites are not equal. | - +-----------+--------------------------------------+ - | hash(x) | Return the invite's hash. | - +-----------+--------------------------------------+ - | str(x) | Returns the invite's URL. | - +-----------+--------------------------------------+ + .. describe:: x == y + + Checks if two invites are equal. + + .. describe:: x != y + + Checks if two invites are not equal. + + .. describe:: hash(x) + + Returns the invite hash. + + .. describe:: str(x) + + Returns the invite URL. Attributes ----------- -- cgit v1.2.3