Skip to content

Commit 2ff8cf1

Browse files
tyrallasobolevn
andauthored
less brackets
Co-authored-by: sobolevn <[email protected]>
1 parent b4a9cd3 commit 2ff8cf1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mypy/checker.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7746,7 +7746,7 @@ def warn_deprecated_overload_item(
77467746
if isinstance(item, Decorator) and isinstance(
77477747
candidate := item.func.type, CallableType
77487748
):
7749-
if (selftype is not None) and (not node.is_static):
7749+
if selftype is not None and not node.is_static:
77507750
candidate = bind_self(candidate, selftype)
77517751
if candidate == target:
77527752
self.warn_deprecated(item.func, context)

0 commit comments

Comments
 (0)