[issue45803] make_dataclass is missing the documented kw_only argument

2021-11-13 Thread Tsvetan Kintisheff


Tsvetan Kintisheff  added the comment:

to clarify, the documentation permalink is: 
https://docs.python.org/3/library/dataclasses.html#dataclasses.make_dataclass

--

___
Python tracker 
<https://bugs.python.org/issue45803>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45803] make_dataclass is missing the documented kw_only argument

2021-11-13 Thread Tsvetan Kintisheff


New submission from Tsvetan Kintisheff :

According to the 3.10 documentation, make_dataclass includes the kw_only 
argument: 
https://github.com/python/cpython/blob/3f15792d60011639d9b170d8a76c6db7f6e83665/Lib/dataclasses.py#L1327

However, the source code referred to by the same doc does not appear to include 
the kw_only argument:
https://github.com/python/cpython/blob/3f15792d60011639d9b170d8a76c6db7f6e83665/Lib/dataclasses.py#L1327

--
components: ctypes
messages: 406290
nosy: kintisheff
priority: normal
severity: normal
status: open
title: make_dataclass is missing the documented kw_only argument
versions: Python 3.10

___
Python tracker 
<https://bugs.python.org/issue45803>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com