This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ahmetveburak
Recipients ahmetveburak, docs@python
Date 2021-05-11.12:36:08
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1620736569.02.0.465666569793.issue44109@roundup.psfhosted.org>
In-reply-to
Content
Using Point class as in the documentation example, raises TypeError: Point() takes no arguments
https://docs.python.org/3.10/whatsnew/3.10.html#patterns-and-classes

Also there is same example in the PEP 636's latests parts, Point class used with dataclass decorator and works perfectly.
https://www.python.org/dev/peps/pep-0636/
History
Date User Action Args
2021-05-11 12:36:09ahmetveburaksetrecipients: + ahmetveburak, docs@python
2021-05-11 12:36:09ahmetveburaksetmessageid: <1620736569.02.0.465666569793.issue44109@roundup.psfhosted.org>
2021-05-11 12:36:08ahmetveburaklinkissue44109 messages
2021-05-11 12:36:08ahmetveburakcreate