DEBSOURCES
Skip Quicknav
sources / cython / 3.0.11%2Bdfsg-2 / docs / examples / quickstart / cythonize / cdef_keyword.py
1234
@cython.cfunc @cython.exceptval(-2, check=True) def f(x: cython.double) -> cython.double: return x ** 2 - x