We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 046a4e3 commit 1b4a856Copy full SHA for 1b4a856
Doc/library/platform.rst
@@ -56,6 +56,13 @@ Cross platform
56
Returns the machine type, e.g. ``'AMD64'``. An empty string is returned if the
57
value cannot be determined.
58
59
+ .. note::
60
+
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.
65
66
67
.. function:: node()
68
0 commit comments