[issue4285] Use a named tuple for sys.version_info

Brett Cannon report at bugs.python.org
Wed Feb 4 19:27:31 CET 2009


Brett Cannon <brett at python.org> added the comment:

On Wed, Feb 4, 2009 at 05:56, Eric Smith <report at bugs.python.org> wrote:
>
> Eric Smith <eric at trueblade.com> added the comment:
>
> The doc string for sys includes:
> version_info -- version information as a tuple
>
> I'm not sure changing this to "... as a structseq" makes it any more
> useful, but it's more correct. Does anyone have a preference?

Does "... as a named tuple" make sense?

-Brett

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4285>
_______________________________________


More information about the Python-bugs-list mailing list