1# ticket: 183
2
3cimport cython
4
5@cython.cdivision(True)
6cpdef cdiv_decorator(int a, int b):
7    """
8    >>> cdiv_decorator(-12, 5)
9    -2
10    """
11    return a / b
12
13@cython.cdivision(False)
14cpdef pydiv_decorator(int a, int b):
15    """
16    >>> pydiv_decorator(-12, 5)
17    -3
18    """
19    return a / b
20