[英]Cython throwing syntax error
Im learning cython and while trying to compile a program which has a simlpe statement like " int f = 9 " its throwing error. 我正在学习cython,并在尝试编译具有simlpe语句(例如“ int f = 9”)的程序时会抛出错误。
cython test.pyx cython test.pyx
int f=9
test.pyx:2:4: Syntax error in simple statement list test.pyx:2:4:简单语句列表中的语法错误
cdef int f = 9
请参阅键入变量文档 。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.