[issue41824] Docs for typing.ForwardRef don't state that is was added in 3.7

Dominic Davis-Foster report at bugs.python.org
Mon Sep 21 12:35:27 EDT 2020


New submission from Dominic Davis-Foster <dom1310df at googlemail.com>:

typing.ForwardRef was first documented in GH-14216 but there's no mention that the class was only added in Python 3.7.

In Python 3.6 there's no typing.ForwardRef; there is a typing._ForwardRef which seems to be the same thing from before it was made public.


What I don't know is whether the change of name was made in 3.7 or in a point release.

----------
components: Library (Lib)
messages: 377262
nosy: dom1310df
priority: normal
severity: normal
status: open
title: Docs for typing.ForwardRef don't state that is was added in 3.7
versions: Python 3.6, Python 3.7

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue41824>
_______________________________________


More information about the Python-bugs-list mailing list