Skip to content

Commit ffa7765

Browse files
FrozenBobAlexWaygood
authored andcommitted
pythongh-100673: Removed erroneous note in the get_type_hints docs (python#100701)
Removed erroneous note in the get_type_hints docs typing.get_type_hints still includes base class type hints. (cherry picked from commit deaf090)
1 parent 8af15cf commit ffa7765

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

Doc/library/typing.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2233,10 +2233,6 @@ Introspection helpers
22332233
.. versionchanged:: 3.9
22342234
Added ``include_extras`` parameter as part of :pep:`593`.
22352235

2236-
.. versionchanged:: 3.10
2237-
Calling ``get_type_hints()`` on a class no longer returns the annotations
2238-
of its base classes.
2239-
22402236
.. function:: get_args(tp)
22412237
.. function:: get_origin(tp)
22422238

0 commit comments

Comments
 (0)