[New-bugs-announce] [issue28851] namedtuples field_names sequence preferred
Francesco Grondona
report at bugs.python.org
Thu Dec 1 09:05:35 EST 2016
New submission from Francesco Grondona:
A change by mhettinger in the doc of Python 2 years ago implicitely stated a sequence of strings as preferred way to provide 'field_names' to a namedtuple:
https://github.com/python/cpython/commit/7be6326e09f2062315f995a18ab54baedfd0c0ff
Same change should be integrated in Python 3, I see no reason to prefer the single string version.
----------
assignee: docs at python
components: Documentation
messages: 282177
nosy: docs at python, peentoon
priority: normal
severity: normal
status: open
title: namedtuples field_names sequence preferred
type: enhancement
versions: Python 3.3, Python 3.4, Python 3.5, Python 3.6, Python 3.7
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28851>
_______________________________________
More information about the New-bugs-announce
mailing list