mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-06-14 11:39:44 +08:00
04fb7ceb3c
As brought up in https://github.com/python/typeshed/pull/5516 Alternatives include: - Use another type var that has a value restriction - Doing something fancy with Protocols that have a __bool__ that returns a Literal (which may not work) - Doing nothing