summaryrefslogtreecommitdiffstats
path: root/contrib/python/typeguard/tests/deferredannos.py
blob: 0d2a16729020451a7b5bedebc802e2c33cf5433f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
from typeguard import typechecked


@typechecked
def uses_forwardref(x: NotYetDefined) -> NotYetDefined:  # noqa: F821
    return x


class NotYetDefined:
    pass