[issue33961] Inconsistency in exceptions for dataclasses.dataclass documentation
Chris Cogdon
report at bugs.python.org
Mon Jun 25 17:54:55 EDT 2018
New submission from Chris Cogdon <chris at cogdon.org>:
The documentation for dataclasses.dataclass includes this text:
"If any of the added methods already exist on the class, a TypeError will be raised."
However, the documentation for various options has ONE case of TypeError, some cases of ValueError and other cases of "does nothing".
I'll attempt a fix and create a PR for this.
----------
assignee: docs at python
components: Documentation
messages: 320444
nosy: chriscog, docs at python
priority: normal
severity: normal
status: open
title: Inconsistency in exceptions for dataclasses.dataclass documentation
versions: Python 3.7
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue33961>
_______________________________________
More information about the Python-bugs-list
mailing list