Skip to content
Merged
Changes from 1 commit
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
7 changes: 7 additions & 0 deletions Doc/library/platform.rst
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,13 @@ 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.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please wrap to 79 characters.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! I’ve updated it.



.. function:: node()

Expand Down
Loading