mirror of https://github.com/python/cpython.git
[3.13] gh-128696: Add arm64 to the get_platform return val description (GH-128701) (#128774)
gh-128696: Add arm64 to the get_platform return val description (GH-128701)
(cherry picked from commit 553cdc6d68
)
Co-authored-by: RUANG (James Roy) <longjinyii@outlook.com>
This commit is contained in:
parent
de27372234
commit
646bd7958e
|
@ -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:
|
||||
|
|
|
@ -594,7 +594,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…
Reference in New Issue