Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
b4bef305
Commit
b4bef305
authored
Feb 01, 2012
by
Brian Curtin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
merge from fb225c289bf0
parent
1d4ae48f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
Doc/library/platform.rst
Doc/library/platform.rst
+2
-2
Lib/platform.py
Lib/platform.py
+1
-1
No files found.
Doc/library/platform.rst
View file @
b4bef305
...
...
@@ -197,8 +197,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
...
...
Lib/platform.py
View file @
b4bef305
...
...
@@ -554,7 +554,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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment