mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-03 01:53:24 +08:00
add_argument's type argument was recently changed to be (approximately) `Callable[[_Text], _T]`. Because of contravariant subtyping for functions, this had the effect of requiring that add_argument *always* be unicode, which is wrong. Change it to be `Callable[[str], _T]`.