mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
gh-128696: Add arm64 to the get_platform return val description (#128701)
This commit is contained in:
parent
1b39b502d3
commit
553cdc6d68
2 changed files with 4 additions and 2 deletions
|
@ -388,7 +388,8 @@ Other functions
|
|||
|
||||
Windows will return one of:
|
||||
|
||||
- win-amd64 (64bit Windows on AMD64, aka x86_64, Intel64, and EM64T)
|
||||
- win-amd64 (64-bit Windows on AMD64, aka x86_64, Intel64, and EM64T)
|
||||
- win-arm64 (64-bit Windows on ARM64, aka AArch64)
|
||||
- win32 (all others - specifically, sys.platform is returned)
|
||||
|
||||
macOS can return:
|
||||
|
|
|
@ -616,7 +616,8 @@ def get_platform():
|
|||
solaris-2.6-sun4u
|
||||
|
||||
Windows will return one of:
|
||||
win-amd64 (64bit Windows on AMD64 (aka x86_64, Intel64, EM64T, etc)
|
||||
win-amd64 (64-bit Windows on AMD64 (aka x86_64, Intel64, EM64T, etc)
|
||||
win-arm64 (64-bit Windows on ARM64 (aka AArch64)
|
||||
win32 (all others - specifically, sys.platform is returned)
|
||||
|
||||
For other non-POSIX platforms, currently just returns 'sys.platform'.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue