Mercurial > python-compiler.rs
view tests/test_parse_files/test_functiondef_decorators.py @ 67:8ce78e2ba48c
Implement class keywords.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Mon, 13 Jun 2016 01:43:19 +0100 |
parents | ce5e27a3f277 |
children |
line wrap: on
line source
import cython @cython.locals(a=int) @cython.returns(int) @cython.cfunc def id(a): return a @cython.cclass class Coucou(object): pass print(id(5))