Skip to content

Commit c1964e0

Browse files
bpo-39383: Mention Darwin as a potential value for platform.system() (GH-18054)
(cherry picked from commit 8d57a41) Co-authored-by: Peter Bittner <[email protected]>
1 parent 5cadd3f commit c1964e0

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Doc/library/platform.rst

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -145,8 +145,8 @@ Cross Platform
145145

146146
.. function:: system()
147147

148-
Returns the system/OS name, e.g. ``'Linux'``, ``'Windows'``, or ``'Java'``. An
149-
empty string is returned if the value cannot be determined.
148+
Returns the system/OS name, such as ``'Linux'``, ``'Darwin'``, ``'Java'``,
149+
``'Windows'``. An empty string is returned if the value cannot be determined.
150150

151151

152152
.. function:: system_alias(system, release, version)
@@ -260,4 +260,3 @@ Unix Platforms
260260
using :program:`gcc`.
261261

262262
The file is read and scanned in chunks of *chunksize* bytes.
263-

0 commit comments

Comments
 (0)