[Python-checkins] bpo-39383: Mention Darwin as a potential value for platform.system() (GH-18054)

Miss Islington (bot) webhook-mailer at python.org
Mon Jan 20 18:28:48 EST 2020


https://github.com/python/cpython/commit/c1964e09421e7ab61179eb4e2691e858a50d70e5
commit: c1964e09421e7ab61179eb4e2691e858a50d70e5
branch: 3.8
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: GitHub <noreply at github.com>
date: 2020-01-20T15:28:43-08:00
summary:

bpo-39383: Mention Darwin as a potential value for platform.system() (GH-18054)

(cherry picked from commit 8d57a4182f0aa68e16d66dea31ba59e732612b4f)

Co-authored-by: Peter Bittner <django at bittner.it>

files:
M Doc/library/platform.rst

diff --git a/Doc/library/platform.rst b/Doc/library/platform.rst
index 1d33afc75870a..8e8e3775aaff4 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.
-



More information about the Python-checkins mailing list