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.
1 parent ac2f0dd commit 502da7dCopy full SHA for 502da7d
pytype/abstract/_base.py
@@ -5,7 +5,7 @@
5
"""
6
7
from collections.abc import Collection, Sequence
8
-from typing import TYPE_CHECKING
+from typing import TYPE_CHECKING, Literal
9
10
from pytype import utils
11
from pytype.abstract import abstract_utils
@@ -405,7 +405,7 @@ def init_subclass(
405
def update_official_name(self, _: str) -> None:
406
"""Update the official name."""
407
408
- def is_late_annotation(self) -> bool:
+ def is_late_annotation(self) -> Literal[False]:
409
return False
410
411
def should_set_self_annot(self) -> bool:
0 commit comments