invalid-length-return-type
(PLE0303
) - false positive when __len__
raises an exception
#11023
Labels
bug
Something isn't working
playground
use case
i have a subclass of a type from a 3rd party module that uses
__len__
in a very misleading way, so i want to ban people from using it on my subclass:The text was updated successfully, but these errors were encountered: