Skip to content

Commit e96e47f

Browse files
authored
Update p10_wrap_existing_c_code_with_cython.rst
改一个错别字
1 parent a9cd77b commit e96e47f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/c15/p10_wrap_existing_c_code_with_cython.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@
178178
def gcd(unsigned int x, unsigned int y):
179179
return csample.gcd(x,y)
180180
181-
对于简单的函数,你并不需要去做太多的时
181+
对于简单的函数,你并不需要去做太多的事
182182
Cython会生成包装代码来正确的转换参数和返回值。
183183
绑定到属性上的C数据类型是可选的。不过,如果你包含了它们,你可以另外做一些错误检查。
184184
例如,如果有人使用负数来调用这个函数,会抛出一个异常:

0 commit comments

Comments
 (0)