[New-bugs-announce] [issue44109] missing dataclass decorator in match-statement example

Ahmet Burak report at bugs.python.org
Tue May 11 08:36:09 EDT 2021

New submission from Ahmet Burak <ahmetbozyurtt at gmail.com>:

Using Point class as in the documentation example, raises TypeError: Point() takes no arguments

Also there is same example in the PEP 636's latests parts, Point class used with dataclass decorator and works perfectly.

assignee: docs at python
components: Documentation
messages: 393454
nosy: ahmetveburak, docs at python
priority: normal
severity: normal
status: open
title: missing dataclass decorator in match-statement example
type: behavior
versions: Python 3.10

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list