【发布时间】:2018-02-22 11:54:09
【问题描述】:
我正在学习 cython,并且在尝试编译具有类似“int f = 9”之类的 simlpe 语句的程序时抛出错误。
cython test.pyx
int f=9
test.pyx:2:4: 简单语句列表中的语法错误
【问题讨论】:
我正在学习 cython,并且在尝试编译具有类似“int f = 9”之类的 simlpe 语句的程序时抛出错误。
cython test.pyx
int f=9
test.pyx:2:4: 简单语句列表中的语法错误
【问题讨论】:
cdef int f = 9
【讨论】: