summaryrefslogtreecommitdiffstats
path: root/Lib/test/typinganndata/fwdref_module.py
blob: 7347a7a42455c227173d76a21ec1ede9b2b0b99d (plain)
1
2
3
4
5
6
from typing import ForwardRef

MyList = list[int]
MyDict = dict[str, 'MyList']

fw = ForwardRef('MyDict', module=__name__)