]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Bug #1323369: document possible values of sys.getwindowsversion()
authorGeorg Brandl <georg@python.org>
Mon, 20 Feb 2006 12:15:26 +0000 (12:15 +0000)
committerGeorg Brandl <georg@python.org>
Mon, 20 Feb 2006 12:15:26 +0000 (12:15 +0000)
platform field

Doc/lib/libsys.tex

index 4efe5f6f27277fbd9cb4bdadd19e014dcb33e168..475410758413be2108accd224b8ad58da01636d0 100644 (file)
@@ -271,10 +271,10 @@ It is always available.
   \var{platform} may be one of the following values:
 
   \begin{tableii}{l|l}{constant}{Constant}{Platform}
-    \lineii{VER_PLATFORM_WIN32s}       {Win32s on Windows 3.1}
-    \lineii{VER_PLATFORM_WIN32_WINDOWS}{Windows 95/98/ME}
-    \lineii{VER_PLATFORM_WIN32_NT}     {Windows NT/2000/XP}
-    \lineii{VER_PLATFORM_WIN32_CE}     {Windows CE}
+    \lineii{0 (VER_PLATFORM_WIN32s)}       {Win32s on Windows 3.1}
+    \lineii{1 (VER_PLATFORM_WIN32_WINDOWS)}{Windows 95/98/ME}
+    \lineii{2 (VER_PLATFORM_WIN32_NT)}     {Windows NT/2000/XP}
+    \lineii{3 (VER_PLATFORM_WIN32_CE)}     {Windows CE}
   \end{tableii}
 
   This function wraps the Win32 \cfunction{GetVersionEx()} function;