We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
is_literal_not_implemented
1 parent 5c4c4b1 commit 43136b3Copy full SHA for 43136b3
mypy/checker.py
@@ -8283,7 +8283,7 @@ def is_literal_none(n: Expression) -> bool:
8283
return isinstance(n, NameExpr) and n.fullname == "builtins.None"
8284
8285
8286
-def is_literal_not_implemented(n: Expression) -> bool:
+def is_literal_not_implemented(n: Expression | None) -> bool:
8287
return isinstance(n, NameExpr) and n.fullname == "builtins.NotImplemented"
8288
8289
0 commit comments