Skip to content

Commit 447ac2d

Browse files
committed
Doc: Simplify platform.machine() documentation and clarify output differences
1 parent 08b07a2 commit 447ac2d

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

Doc/library/platform.rst

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -56,13 +56,7 @@ Cross platform
5656
Returns the machine type, e.g. ``'AMD64'``. An empty string is returned if the
5757
value cannot be determined.
5858

59-
.. note::
60-
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.
59+
The output is platform-dependent and may differ in casing and naming conventions.
6660

6761

6862
.. function:: node()

0 commit comments

Comments
 (0)