]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-39383: Mention Darwin as a potential value for platform.system() (GH-18054)
authorPeter Bittner <django@bittner.it>
Mon, 20 Jan 2020 23:22:56 +0000 (00:22 +0100)
committerNed Deily <nad@python.org>
Mon, 20 Jan 2020 23:22:56 +0000 (18:22 -0500)
Doc/library/platform.rst

index 1d33afc75870a5f480d0c9a25ec39d9a6daeab38..8e8e3775aaff4a11c187a9d595fbacf3c8ee3356 100644 (file)
@@ -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.
-