Corrected list of attributes exposed by sys.getwindowsversion.

This commit is contained in:
Eric Smith 2010-02-03 14:17:50 +00:00
parent f8f42075df
commit b3c548845a
1 changed files with 4 additions and 4 deletions

View File

@ -830,10 +830,10 @@ changes, or look through the Subversion logs for all the details.
Light; :issue:`4285`.)
:func:`sys.getwindowsversion` also returns a named tuple,
with attributes named :attr:`service_pack_major`,
:attr:`service_pack_minor`,
:attr:`suite_mask`, and :attr:`product_type`. (Contributed by
Brian Curtin; :issue:`7766`.)
with attributes named :attr:`major`, :attr:`minor`, :attr:`build`,
:attr:`platform`:, :attr:`service_pack`, :attr:`service_pack_major`,
:attr:`service_pack_minor`, :attr:`suite_mask`, and
:attr:`product_type`. (Contributed by Brian Curtin; :issue:`7766`.)
* The :mod:`tarfile` module's default error handling has changed, to
no longer suppress fatal errors. The default error level was previously 0,