Fix versionadded not showing in docs for Attachment.content_type

This commit is contained in:
Logan 2021-04-06 01:24:04 +01:00 committed by Rapptz
parent 1b2c527fc7
commit 56faa98e4b

View File

@ -114,7 +114,7 @@ class Attachment(Hashable):
content_type: Optional[:class:`str`]
The attachment's `media type <https://en.wikipedia.org/wiki/Media_type>`_
.. versionadded: 1.7
.. versionadded:: 1.7
"""
__slots__ = ('id', 'size', 'height', 'width', 'filename', 'url', 'proxy_url', '_http', 'content_type')