[issue24416] Return a namedtuple from date.isocalendar()
Raymond Hettinger
report at bugs.python.org
Mon Sep 19 09:32:16 EDT 2016
Raymond Hettinger added the comment:
C code should generally use structseq instead of collections.namedtuple. See the code for time.localtime() in Modules/timemodule.c.
Also, in the docs use "named tuple" as two words and link to the glossary: https://docs.python.org/3/glossary.html#term-named-tuple
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue24416>
_______________________________________
More information about the Python-bugs-list
mailing list