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