Skip to content

Commit

Permalink
stubtest: warn about missing __del__ (#16456)
Browse files Browse the repository at this point in the history
Fixes #16414
  • Loading branch information
hauntsaninja authored Nov 11, 2023
1 parent 8ae84ed commit f7a0530
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion mypy/stubtest.py
Original file line number Diff line number Diff line change
Expand Up @@ -1381,7 +1381,6 @@ def verify_typealias(
"__annotations__",
"__text_signature__",
"__weakref__",
"__del__", # Only ever called when an object is being deleted, who cares?
"__hash__",
"__getattr__", # resulting behaviour might be typed explicitly
"__setattr__", # defining this on a class can cause worse type checking
Expand Down

0 comments on commit f7a0530

Please sign in to comment.