summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Curtin <brian@python.org>2012-02-01 21:14:00 (GMT)
committerBrian Curtin <brian@python.org>2012-02-01 21:14:00 (GMT)
commit10dda6e029b70aa95c51fe7ba2a61b729527c73b (patch)
tree6a94397bbc373ce1c79bae837b6186f057c89880
parent4d82ade42471e0503d82012116d0b128d7120f7f (diff)
downloadcpython-10dda6e029b70aa95c51fe7ba2a61b729527c73b.zip
cpython-10dda6e029b70aa95c51fe7ba2a61b729527c73b.tar.gz
cpython-10dda6e029b70aa95c51fe7ba2a61b729527c73b.tar.bz2
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.
-rw-r--r--Doc/library/platform.rst4
-rwxr-xr-xLib/platform.py2
2 files changed, 3 insertions, 3 deletions
diff --git a/Doc/library/platform.rst b/Doc/library/platform.rst
index 929936e..85eca9a 100644
--- a/Doc/library/platform.rst
+++ b/Doc/library/platform.rst
@@ -188,8 +188,8 @@ Windows Platform
.. function:: win32_ver(release='', version='', csd='', ptype='')
Get additional version information from the Windows Registry and return a tuple
- ``(version, csd, ptype)`` referring to version number, CSD level and OS type
- (multi/single processor).
+ ``(version, csd, ptype)`` referring to version number, CSD level
+ (service pack) and OS type (multi/single processor).
As a hint: *ptype* is ``'Uniprocessor Free'`` on single processor NT machines
and ``'Multiprocessor Free'`` on multi processor machines. The *'Free'* refers
diff --git a/Lib/platform.py b/Lib/platform.py
index e04bcb4..985a9f8 100755
--- a/Lib/platform.py
+++ b/Lib/platform.py
@@ -549,7 +549,7 @@ def win32_ver(release='',version='',csd='',ptype=''):
""" Get additional version information from the Windows Registry
and return a tuple (version,csd,ptype) referring to version
- number, CSD level and OS type (multi/single
+ number, CSD level (service pack), and OS type (multi/single
processor).
As a hint: ptype returns 'Uniprocessor Free' on single