摘要: python 3.5 引入的一种注释语法 编译器自动忽略 仅仅IDE识别使用 x = 1 # type: int y = 'hello' # type: str 函数的注释 可以通过 doc 获取 from functools import wraps def my_decorator(func): 阅读全文
posted @ 2024-12-11 15:17 vx_guanchaoguo0 阅读(6) 评论(0) 推荐(0) 编辑