Commit d56dbd1f authored by Stefan Behnel's avatar Stefan Behnel

add @cython.profile() no-op decorator for pure mode

parent e987256e
...@@ -97,7 +97,7 @@ class _EmptyDecoratorAndManager(object): ...@@ -97,7 +97,7 @@ class _EmptyDecoratorAndManager(object):
cclass = ccall = cfunc = _EmptyDecoratorAndManager() cclass = ccall = cfunc = _EmptyDecoratorAndManager()
returns = wraparound = boundscheck = lambda arg: _EmptyDecoratorAndManager() returns = wraparound = boundscheck = profile = lambda arg: _EmptyDecoratorAndManager()
final = internal = type_version_tag = no_gc_clear = _empty_decorator final = internal = type_version_tag = no_gc_clear = _empty_decorator
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment