Skip to content

Commit 3da8390

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 b76d5e9 commit 3da8390

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
@@ -140,8 +140,8 @@ Cross Platform
140140

141141
.. function:: system()
142142

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

146146

147147
.. function:: system_alias(system, release, version)
@@ -281,4 +281,3 @@ Unix Platforms
281281
using :program:`gcc`.
282282

283283
The file is read and scanned in chunks of *chunksize* bytes.
284-

0 commit comments

Comments
 (0)