]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-39383: Mention Darwin as a potential value for platform.system() (GH-18054)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 20 Jan 2020 23:28:18 +0000 (15:28 -0800)
committerGitHub <noreply@github.com>
Mon, 20 Jan 2020 23:28:18 +0000 (15:28 -0800)
(cherry picked from commit 8d57a4182f0aa68e16d66dea31ba59e732612b4f)

Co-authored-by: Peter Bittner <django@bittner.it>
Doc/library/platform.rst

index 7d29dc186b67c7712319f38b15ad101ef05cb3ac..f00567c2aa104a77c7ddd30c728f7921d546629f 100644 (file)
@@ -140,8 +140,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)
@@ -281,4 +281,3 @@ Unix Platforms
    using :program:`gcc`.
 
    The file is read and scanned in chunks of *chunksize* bytes.
-