mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-04-27 09:01:26 +08:00
be99a2a5f0
The only constraint on the return value of a predicate is to be "boolable". Because `bool` recives an object in the constructor https://github.com/python/typeshed/blob/master/stdlib/2and3/builtins.pyi#L803 this is a more accurate description of a predicate.