[docs] [issue36985] typing.ForwardRef is undocumented

Ivan Levkivskyi report at bugs.python.org
Sat Jun 1 20:07:20 EDT 2019


Ivan Levkivskyi <levkivskyi at gmail.com> added the comment:

Guido, I remember you were against exposing `ForwardRef` as public at some point, but recently you approved https://github.com/python/cpython/pull/13456 that added it to `typing.__all__`. I don't have any particular opinion on this, but if you don't object, I think it would make sense to add a short section about this to the docs, since it may be exposed at runtime, e.g. in `List['Cls']`.

----------
nosy: +gvanrossum

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


More information about the docs mailing list