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

2017年11月12日 09:13:51 -0800

On Sun, Nov 12, 2017 at 4:14 AM, Koos Zevenhoven <[email protected]> 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)
_______________________________________________
Python-Dev mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to