Remove return and setter docstring

This commit is contained in:
Ahmad Ansori Palembani 2021-09-02 18:25:18 +07:00 committed by GitHub
parent 31f8813665
commit 09a75eb78e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -455,9 +455,6 @@ class Embed:
@thumbnail.setter @thumbnail.setter
def thumbnail(self: E, url: Any): def thumbnail(self: E, url: Any):
"""Sets the thumbnail for the embed content.
"""
if url is EmptyEmbed: if url is EmptyEmbed:
del self._thumbnail del self._thumbnail
else: else:
@ -465,8 +462,6 @@ class Embed:
'url': str(url), 'url': str(url),
} }
return
@thumbnail.deleter @thumbnail.deleter
def thumbnail(self): def thumbnail(self):
try: try: