Skip to content

Commit 391aedd

Browse files
author
Darren
committed
fix yidao620c#148: Fix typo in 7.3
1 parent cb9a7a9 commit 391aedd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/c07/p03_attach_informatinal_matadata_to_function_arguments.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,6 @@ python解释器不会对这些注解添加任何的语义。它们不会被类
4242
4343
尽管注解的使用方法可能有很多种,但是它们的主要用途还是文档。
4444
因为python并没有类型声明,通常来讲仅仅通过阅读源码很难知道应该传递什么样的参数给这个函数。
45-
这时候使用注解就能给程序员更多的提示,让他们可以争取的使用函数
45+
这时候使用注解就能给程序员更多的提示,让他们可以正确的使用函数
4646

4747
参考9.20小节的一个更加高级的例子,演示了如何利用注解来实现多分派(比如重载函数)。

0 commit comments

Comments
 (0)