From 4bbbe2048c7e3030699348540106a25014effbfd Mon Sep 17 00:00:00 2001 From: Giridhar <80974392+giri256@users.noreply.github.com> Date: Tue, 28 Jul 2026 01:35:24 +0530 Subject: [PATCH] Improve lib2to3 future feature annotation Signed-off-by: Giridhar <80974392+giri256@users.noreply.github.com> --- stdlib/lib2to3/pytree.pyi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stdlib/lib2to3/pytree.pyi b/stdlib/lib2to3/pytree.pyi index 045f7882721a..f634f5065c0e 100644 --- a/stdlib/lib2to3/pytree.pyi +++ b/stdlib/lib2to3/pytree.pyi @@ -1,4 +1,4 @@ -from _typeshed import Incomplete, SupportsGetItem, SupportsLenAndGetItem, Unused +from _typeshed import SupportsGetItem, SupportsLenAndGetItem, Unused from abc import abstractmethod from collections.abc import Iterable, Iterator, MutableSequence from typing import ClassVar, Final, TypeAlias @@ -48,7 +48,7 @@ class Base: class Node(Base): fixers_applied: MutableSequence[BaseFix] | None # Is Unbound until set in refactor.RefactoringTool - future_features: frozenset[Incomplete] + future_features: frozenset[str] # Is Unbound until set in pgen2.parse.Parser.pop used_names: set[str] def __init__(