[docs] [issue32216] Document PEP 557 Data Classes (dataclasses module)

Eric V. Smith report at bugs.python.org
Mon May 14 14:07:42 EDT 2018

Eric V. Smith <eric at trueblade.com> added the comment:

Note that the documentation should make the implications of #33453 very clear.

In short, if an annotation "looks like" a ClassVar or InitVar, it will be treated as such. This is true even if it's specified as a string, or if it's a string due to "from __future__ import annotations".

I'm planning on specifying more details in #33453.


Python tracker <report at bugs.python.org>

More information about the docs mailing list