Skip to content

Commit 3bbc36c

Browse files
authored
Add two missing ForwardRef attributes (#7402)
These look somewhat like implementation details, but no more so than any of the other dunder attributes that are already on the class.
1 parent 1575c1b commit 3bbc36c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

stdlib/typing.pyi

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1215,6 +1215,8 @@ if sys.version_info >= (3, 7):
12151215
__forward_evaluated__: bool
12161216
__forward_value__: Any | None
12171217
__forward_is_argument__: bool
1218+
__forward_is_class__: bool
1219+
__forward_module__: Any | None
12181220
if sys.version_info >= (3, 9):
12191221
# The module and is_class arguments were added in later Python 3.9 versions.
12201222
def __init__(self, arg: str, is_argument: bool = ..., module: Any | None = ..., *, is_class: bool = ...) -> None: ...

0 commit comments

Comments
 (0)