summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorPaul Monson <paulmon@users.noreply.github.com>2019-04-25 18:36:45 (GMT)
committerSteve Dower <steve.dower@python.org>2019-04-25 18:36:45 (GMT)
commit62dfd7d6fe11bfa0cd1d7376382c8e7b1275e38c (patch)
treef59fcebb25702acbde504865f1a483ab7ac80954 /Doc
parent8c3ecc6bacc8d0cd534f2b5b53ed962dd1368c7b (diff)
downloadcpython-62dfd7d6fe11bfa0cd1d7376382c8e7b1275e38c.zip
cpython-62dfd7d6fe11bfa0cd1d7376382c8e7b1275e38c.tar.gz
cpython-62dfd7d6fe11bfa0cd1d7376382c8e7b1275e38c.tar.bz2
bpo-35920: Windows 10 ARM32 platform support (GH-11774)
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/platform.rst15
1 files changed, 15 insertions, 0 deletions
diff --git a/Doc/library/platform.rst b/Doc/library/platform.rst
index 60c6089..e07f9d6 100644
--- a/Doc/library/platform.rst
+++ b/Doc/library/platform.rst
@@ -216,6 +216,21 @@ Windows Platform
later (support for this was added in Python 2.6). It obviously
only runs on Win32 compatible platforms.
+.. function:: win32_edition()
+
+ Returns a string representing the current Windows edition. Possible
+ values include but are not limited to ``'Enterprise'``, ``'IoTUAP'``,
+ ``'ServerStandard'``, and ``'nanoserver'``.
+
+ .. versionadded:: 3.8
+
+.. function:: win32_is_iot()
+
+ Returns True if the windows edition returned by win32_edition is recognized
+ as an IoT edition.
+
+ .. versionadded:: 3.8
+
Mac OS Platform
---------------