cpython/Misc/NEWS.d/next/Library/2018-03-29-04-32-25.bpo-331...

3 lines
134 B
ReStructuredText

In dataclasses, Field.__set_name__ now looks up the __set_name__ special
method on the class, not the instance, of the default value.