[Python-Dev] PEP 563: Postponed Evaluation of Annotations

Guido van Rossum guido at python.org
Sun Nov 12 12:10:05 EST 2017

On Sun, Nov 12, 2017 at 4:14 AM, Koos Zevenhoven <k7hoven at gmail.com> wrote:

> So actually my question is: What should happen when the annotation is
> already a string literal?

The PEP answers that clearly (under Implementation):

> If an annotation was already a string, this string is preserved
> verbatim.

--Guido van Rossum (python.org/~guido)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20171112/efaa5858/attachment.html>

More information about the Python-Dev mailing list