comparison tests/test_parse_files/test_functiondef_decorators.py @ 64:53817b39f139

Add FunctionDef.decorator_list support.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Mon, 13 Jun 2016 01:18:48 +0100
parents
children ce5e27a3f277
comparison
equal deleted inserted replaced
63:5df52b40fe54 64:53817b39f139
1 import cython
2 @cython.locals(a=int)
3 @cython.returns(int)
4 @cython.cfunc
5 def id(a):
6 return a
7 print(id(5))