Skip to content

Commit 4bbbe20

Browse files
committed
Improve lib2to3 future feature annotation
Signed-off-by: Giridhar <80974392+giri256@users.noreply.github.com>
1 parent 7020bc2 commit 4bbbe20

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

stdlib/lib2to3/pytree.pyi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from _typeshed import Incomplete, SupportsGetItem, SupportsLenAndGetItem, Unused
1+
from _typeshed import SupportsGetItem, SupportsLenAndGetItem, Unused
22
from abc import abstractmethod
33
from collections.abc import Iterable, Iterator, MutableSequence
44
from typing import ClassVar, Final, TypeAlias
@@ -48,7 +48,7 @@ class Base:
4848
class Node(Base):
4949
fixers_applied: MutableSequence[BaseFix] | None
5050
# Is Unbound until set in refactor.RefactoringTool
51-
future_features: frozenset[Incomplete]
51+
future_features: frozenset[str]
5252
# Is Unbound until set in pgen2.parse.Parser.pop
5353
used_names: set[str]
5454
def __init__(

0 commit comments

Comments
 (0)