小编Jin*_*uan的帖子

rtype 在 Python 中是什么意思?

当我做一些代码测试时,在解决方案函数下面有一些注释是这样的:

"""
:type x: int
:rtype: int
"""
Run Code Online (Sandbox Code Playgroud)

x是我唯一的输入,那么rtype代表什么?

python python-sphinx

8
推荐指数
2
解决办法
5721
查看次数

标签 统计

python ×1

python-sphinx ×1