@@ -139,7 +139,7 @@ Cross Platform
139
139
140
140
.. function :: release()
141
141
142
- Returns the system's release, e.g. ``'2.2.0' `` or ``'NT' `` An empty string is
142
+ Returns the system's release, e.g. ``'2.2.0' `` or ``'NT' ``. An empty string is
143
143
returned if the value cannot be determined.
144
144
145
145
@@ -176,7 +176,7 @@ Cross Platform
176
176
Entries which cannot be determined are set to ``'' ``.
177
177
178
178
.. versionchanged :: 3.3
179
- Result changed from a tuple to a namedtuple.
179
+ Result changed from a tuple to a :func: ` ~collections. namedtuple` .
180
180
181
181
182
182
Java Platform
@@ -201,7 +201,9 @@ Windows Platform
201
201
202
202
Get additional version information from the Windows Registry and return a tuple
203
203
``(release, version, csd, ptype) `` referring to OS release, version number,
204
- CSD level (service pack) and OS type (multi/single processor).
204
+ CSD level (service pack) and OS type (multi/single processor). Values which
205
+ cannot be determined are set to the defaults given as parameters (which all
206
+ default to an empty string).
205
207
206
208
As a hint: *ptype * is ``'Uniprocessor Free' `` on single processor NT machines
207
209
and ``'Multiprocessor Free' `` on multi processor machines. The *'Free' * refers
@@ -211,9 +213,9 @@ Windows Platform
211
213
212
214
.. function :: win32_edition()
213
215
214
- Returns a string representing the current Windows edition. Possible
215
- values include but are not limited to `` 'Enterprise' ``, `` 'IoTUAP' ``,
216
- ``'ServerStandard' ``, and ``'nanoserver' ``.
216
+ Returns a string representing the current Windows edition, or `` None `` if the
217
+ value cannot be determined. Possible values include but are not limited to
218
+ ``'Enterprise' ``, `` 'IoTUAP' ``, `` ' ServerStandard' ``, and ``'nanoserver' ``.
217
219
218
220
.. versionadded :: 3.8
219
221
0 commit comments