[docs] [issue36985] typing.ForwardRef is undocumented

Guido van Rossum report at bugs.python.org
Sun Jun 2 17:13:42 EDT 2019


Guido van Rossum <guido at python.org> added the comment:

Huh. I think I have mellowed with age. IOW SGTM.

On Sat, Jun 1, 2019 at 17:07 Ivan Levkivskyi <report at bugs.python.org> wrote:

>
> 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>
> _______________________________________
>
-- 
--Guido (mobile)

----------

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


More information about the docs mailing list