summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorPeter Bittner <django@bittner.it>2020-01-20 23:22:56 (GMT)
committerNed Deily <nad@python.org>2020-01-20 23:22:56 (GMT)
commit8d57a4182f0aa68e16d66dea31ba59e732612b4f (patch)
tree12d77cd5bf84de2798ea5ae8d23d61c5210e8057 /Doc/library
parenta96e06db77dcbd3433d39761ddb4615d7d96284a (diff)
downloadcpython-8d57a4182f0aa68e16d66dea31ba59e732612b4f.zip
cpython-8d57a4182f0aa68e16d66dea31ba59e732612b4f.tar.gz
cpython-8d57a4182f0aa68e16d66dea31ba59e732612b4f.tar.bz2
bpo-39383: Mention Darwin as a potential value for platform.system() (GH-18054)
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/platform.rst5
1 files changed, 2 insertions, 3 deletions
diff --git a/Doc/library/platform.rst b/Doc/library/platform.rst
index 1d33afc..8e8e377 100644
--- a/Doc/library/platform.rst
+++ b/Doc/library/platform.rst
@@ -145,8 +145,8 @@ Cross Platform
.. function:: system()
- Returns the system/OS name, e.g. ``'Linux'``, ``'Windows'``, or ``'Java'``. An
- empty string is returned if the value cannot be determined.
+ Returns the system/OS name, such as ``'Linux'``, ``'Darwin'``, ``'Java'``,
+ ``'Windows'``. An empty string is returned if the value cannot be determined.
.. function:: system_alias(system, release, version)
@@ -260,4 +260,3 @@ Unix Platforms
using :program:`gcc`.
The file is read and scanned in chunks of *chunksize* bytes.
-