Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 10dda6e

Browse files
committed
Add a hint that CSD == Service Pack.
People searcing for the way to get a "service pack" will never find that we provide it here, and people that find this function won't know what CSD is until they run the function. On top of this, they won't know what the value means unless they really have a service pack installed. CSD, or Customer Service Diagnostics, is apparently no longer used, and was rarely used term at that. Most references to it online are from universities making Windows 2000 and XP service packs available to students.
1 parent 4d82ade commit 10dda6e

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

Doc/library/platform.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,8 +188,8 @@ Windows Platform
188188
.. function:: win32_ver(release='', version='', csd='', ptype='')
189189

190190
Get additional version information from the Windows Registry and return a tuple
191-
``(version, csd, ptype)`` referring to version number, CSD level and OS type
192-
(multi/single processor).
191+
``(version, csd, ptype)`` referring to version number, CSD level
192+
(service pack) and OS type (multi/single processor).
193193

194194
As a hint: *ptype* is ``'Uniprocessor Free'`` on single processor NT machines
195195
and ``'Multiprocessor Free'`` on multi processor machines. The *'Free'* refers

Lib/platform.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -549,7 +549,7 @@ def win32_ver(release='',version='',csd='',ptype=''):
549549

550550
""" Get additional version information from the Windows Registry
551551
and return a tuple (version,csd,ptype) referring to version
552-
number, CSD level and OS type (multi/single
552+
number, CSD level (service pack), and OS type (multi/single
553553
processor).
554554
555555
As a hint: ptype returns 'Uniprocessor Free' on single

0 commit comments

Comments
 (0)