Make py:obj default Sphinx's role

This commit is contained in:
Lonami Exo
2018-03-28 16:03:47 +02:00
parent dcb7820c5f
commit 395e702586
7 changed files with 164 additions and 162 deletions

View File

@@ -14,13 +14,13 @@ class Draft:
instances of this class when calling :meth:`get_drafts()`.
Args:
date (:obj:`datetime`):
date (`datetime`):
The date of the draft.
link_preview (:obj:`bool`):
link_preview (`bool`):
Whether the link preview is enabled or not.
reply_to_msg_id (:obj:`int`):
reply_to_msg_id (`int`):
The message ID that the draft will reply to.
"""
def __init__(self, client, peer, draft):