diff options
| author | Rapptz <[email protected]> | 2017-05-21 17:55:09 -0400 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2017-05-21 17:55:09 -0400 |
| commit | f57ec81eec00f45f7aab2c25db67973239a47a31 (patch) | |
| tree | 23ccd53761385ae5b2d2f38fd62954afca376480 | |
| parent | Version bump to v0.16.8 (diff) | |
| download | discord.py-f57ec81eec00f45f7aab2c25db67973239a47a31.tar.xz discord.py-f57ec81eec00f45f7aab2c25db67973239a47a31.zip | |
Documentation fix.
Fix #482
| -rw-r--r-- | discord/permissions.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/discord/permissions.py b/discord/permissions.py index 061ffad9..561cb131 100644 --- a/discord/permissions.py +++ b/discord/permissions.py @@ -91,14 +91,14 @@ class Permissions: return self._perm_iterator() def is_subset(self, other): - """Returns True if other has the same or fewer permissions as self.""" + """Returns True if self has the same or fewer permissions as other.""" if isinstance(other, Permissions): return (self.value & other.value) == self.value else: raise TypeError("cannot compare {} with {}".format(self.__class__.__name__, other.__class__name)) def is_superset(self, other): - """Returns True if other has the same or more permissions as self.""" + """Returns True if self has the same or more permissions as other.""" if isinstance(other, Permissions): return (self.value | other.value) == self.value else: |