Skip to content
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions Doc/library/platform.rst
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,14 @@ Cross platform
Returns the machine type, e.g. ``'AMD64'``. An empty string is returned if the
value cannot be determined.

.. note::

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


.. function:: node()

Expand Down
Loading