Skip to content

Commit 43136b3

Browse files
committed
Extend is_literal_not_implemented parameter's type.
1 parent 5c4c4b1 commit 43136b3

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
@@ -8283,7 +8283,7 @@ def is_literal_none(n: Expression) -> bool:
82838283
return isinstance(n, NameExpr) and n.fullname == "builtins.None"
82848284

82858285

8286-
def is_literal_not_implemented(n: Expression) -> bool:
8286+
def is_literal_not_implemented(n: Expression | None) -> bool:
82878287
return isinstance(n, NameExpr) and n.fullname == "builtins.NotImplemented"
82888288

82898289

0 commit comments

Comments
 (0)