summaryrefslogtreecommitdiffstats
path: root/tests/roots/test-ext-autodoc/target/cython.pyx
blob: 5d0329ae5caa8e69046f998400351622e345d675 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# cython: binding=True
# cython: language_level=3str

def foo(x: int, *args, y: str, **kwargs):
    """Docstring."""


class Class:
    """Docstring."""

    def meth(self, name: str, age: int = 0) -> None:
        """Docstring."""
        pass