From f4e01b3a9289b294ad559263fed0826c111700b2 Mon Sep 17 00:00:00 2001 From: Rapptz Date: Sat, 20 May 2017 02:08:34 -0400 Subject: Make supported operations stand out more than attributes. --- discord/invite.py | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) (limited to 'discord/invite.py') diff --git a/discord/invite.py b/discord/invite.py index a630b3fb..3fa860c7 100644 --- a/discord/invite.py +++ b/discord/invite.py @@ -36,21 +36,23 @@ class Invite(Hashable): Depending on the way this object was created, some of the attributes can have a value of ``None``. - .. describe:: x == y + .. container:: operations - Checks if two invites are equal. + .. describe:: x == y - .. describe:: x != y + Checks if two invites are equal. - Checks if two invites are not equal. + .. describe:: x != y - .. describe:: hash(x) + Checks if two invites are not equal. - Returns the invite hash. + .. describe:: hash(x) - .. describe:: str(x) + Returns the invite hash. - Returns the invite URL. + .. describe:: str(x) + + Returns the invite URL. Attributes ----------- -- cgit v1.2.3