简体   繁体   中英

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 test.pyx

int f=9   

test.pyx:2:4: Syntax error in simple statement list

cdef int f = 9

请参阅键入变量文档

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM