fix typo
This commit is contained in:
@@ -28,7 +28,7 @@ python解释器不会对这些注解添加任何的语义。它们不会被类
|
||||
add(x: int, y: int) -> int
|
||||
>>>
|
||||
|
||||
尽管你可以使用任意类型的对象给函数添加注解(例如数字,字符串,对象实例等等),不过通常来讲使用类或着字符串会比较好点。
|
||||
尽管你可以使用任意类型的对象给函数添加注解(例如数字,字符串,对象实例等等),不过通常来讲使用类或者字符串会比较好点。
|
||||
|
||||
----------
|
||||
讨论
|
||||
|
||||
Reference in New Issue
Block a user