summaryrefslogtreecommitdiffstats
path: root/tests/roots/test-ext-autosummary-filename-map/autosummary_dummy_module.py
blob: b88e33520b3278429f446fa266dc582733b930a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
from __future__ import annotations

from os import path
from typing import Union


class Foo:
    class Bar:
        pass

    def __init__(self):
        pass

    def bar(self):
        pass

    @property
    def baz(self):
        pass


def bar(x: int | str, y: int = 1) -> None:
    pass