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 GitHub
parent 88be8cc5be
commit 3abb2fde56
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -111,7 +111,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')