[issue4285] Use a named tuple for sys.version_info

Eric Smith report at bugs.python.org
Wed Feb 4 14:56:33 CET 2009


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? I'd use
the same wording as float_info, but that's missing from the doc string
(and I'll deal with that as a separate issue).

Other than that, this all looks good to me. I also tested that the docs
build. I'll check it in once I get or invent new wording for the doc string.

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


More information about the Python-bugs-list mailing list