mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2025-12-29 12:04:51 +00:00
Show string type as "str"
This commit is contained in:
parent
edbca87d36
commit
b0f1d89914
1 changed files with 2 additions and 0 deletions
|
|
@ -43,6 +43,8 @@ def get_docstring_arg_type(t: str, is_list: bool = False):
|
|||
return ":obj:`int`"
|
||||
elif t == "double":
|
||||
return ":obj:`float`"
|
||||
elif t == "string":
|
||||
return ":obj:`str`"
|
||||
else:
|
||||
return ":obj:`{}`".format(t.lower())
|
||||
elif t == "true":
|
||||
|
|
|
|||
Loading…
Reference in a new issue