Mercurial > python-compiler.rs
view tests/test_parse_files/test_decorators.py @ 80:c6d3f0dabbba
Add ast.IfExp.
author | Bastien Orivel <eijebong@bananium.fr> |
---|---|
date | Mon, 13 Jun 2016 20:12:39 +0200 |
parents | c9b9165abb9e |
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))