view tests/test_parse_files/test_decorators.py @ 95:6569eea3db23

Ignore tests which don’t have the .py extension.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Tue, 28 Jun 2016 01:36:14 +0100
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))