Browse Source

Remove setting read-only __doc__ in Member overrides.

pull/195/head
Rapptz 9 years ago
parent
commit
47cccba946
  1. 4
      discord/member.py

4
discord/member.py

@ -132,8 +132,6 @@ class Member(User):
return '<@!{}>'.format(self.id)
return '<@{}>'.format(self.id)
mention.__doc__ = User.mention.__doc__
def mentioned_in(self, message):
mentioned = super().mentioned_in(message)
if mentioned:
@ -145,5 +143,3 @@ class Member(User):
return True
return False
mentioned_in.__doc__ = User.mentioned_in.__doc__

Loading…
Cancel
Save