Message327860
Hmmm, I don't think mypy has an annotation for "sometimes has an attribute" -- `Optional[T]` is `Union[T, None]` (why I tried `None`).
But you're right, `FromImport` is constructable without a `level` -- it seems to behave as `level=0` (I guess as expected!) |
|
Date |
User |
Action |
Args |
2018-10-17 05:25:42 | Anthony Sottile | set | recipients:
+ Anthony Sottile, srittau, docs@python, serhiy.storchaka, thautwarm |
2018-10-17 05:25:42 | Anthony Sottile | set | messageid: <1539753942.77.0.788709270274.issue35001@psf.upfronthosting.co.za> |
2018-10-17 05:25:42 | Anthony Sottile | link | issue35001 messages |
2018-10-17 05:25:42 | Anthony Sottile | create | |
|