docstring 存在哪 👁️ 0 人浏览 💬 0 人评论 ❤️ 添加收藏 同一个函数,这次看它的说明文档:def add(a: int, b: int) -> int: """把两个整数相加。""" return a + b print(add.__doc__)
全部评论