summaryrefslogtreecommitdiff
path: root/tests/roots/test-ext-autodoc/target/docstring_signature.py
blob: d9deb6244ac36712805d7ec36612df2435786f7c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
class A:
    """A(foo, bar)"""


class B:
    """B(foo, bar)"""
    def __init__(self):
        """B(foo, bar, baz)"""


class C:
    """C(foo, bar)"""
    def __new__(cls):
        """C(foo, bar, baz)"""


class D:
    def __init__(self):
        """D(foo, bar, baz)"""


class E:
    def __init__(self):
        """E(foo: int, bar: int, baz: int) -> None \\
        E(foo: str, bar: str, baz: str) -> None"""


class F:
    def __init__(self):
        """F(foo: int, bar: int, baz: int) -> None
        F(foo: str, bar: str, baz: str) -> None"""