[docs] [issue29974] Change typing.TYPE_CHECKING doc example

Mathias Rav report at bugs.python.org
Tue Apr 4 08:13:36 EDT 2017


Mathias Rav added the comment:

I have updated the patch after feedback from Jelle Zijlstra and Ivan Levkevskyi. Indeed the example was correct; the patch now adds wording from PEP 484 and PEP 526 to clarify why a function parameter annotation needs to be in quotes and a local variable annotation does not.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue29974>
_______________________________________


More information about the docs mailing list