[ty] Rename call-possibly-unbound-method to possibly-unbound-implicit-call (#18017)

This commit is contained in:
InSync
2025-05-22 22:25:51 +07:00
committed by GitHub
parent 91b7a570c2
commit bcefa459f4
8 changed files with 127 additions and 101 deletions

View File

@@ -63,7 +63,7 @@ def _(flag: bool):
else:
class Spam: ...
# error: [call-possibly-unbound-method] "Method `__class_getitem__` of type `<class 'Spam'> | <class 'Spam'>` is possibly unbound"
# error: [possibly-unbound-implicit-call] "Method `__class_getitem__` of type `<class 'Spam'> | <class 'Spam'>` is possibly unbound"
# revealed: str
reveal_type(Spam[42])
```