Skip to content

Commit 08b07a2

Browse files
committed
Add a note to the platform.machine() documentation section
1 parent 1b4a856 commit 08b07a2

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

Doc/library/platform.rst

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,11 @@ Cross platform
5858

5959
.. note::
6060

61-
The output of :func:`platform.machine` is system-dependent and may differ in casing
62-
and naming conventions across platforms. For example, on Apple Silicon macOS it may
63-
return ``'arm64'`` (lowercase), while on Windows-on-ARM it may return ``'ARM64'`` (uppercase).
64-
If you need consistent results, normalize the output in your code.
61+
The output of :func:`platform.machine` is system-dependent and may differ
62+
in casing and naming conventions across platforms. For example, on Apple
63+
Silicon macOS it may return ``'arm64'`` (lowercase), while on Windows-on-ARM
64+
it may return ``'ARM64'`` (uppercase). If you need consistent results,
65+
normalize the output in your code.
6566

6667

6768
.. function:: node()

0 commit comments

Comments
 (0)