diff options
author | RUANG (James Roy) <longjinyii@outlook.com> | 2025-01-11 01:03:12 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-11 01:03:12 (GMT) |
commit | 553cdc6d6856c1b4539a45eb90d0769f7c629355 (patch) | |
tree | 787f882994d7218d832cb172a4bffd57283911db | |
parent | 1b39b502d33c68f52fd775c4e6c2174baddd40bd (diff) | |
download | cpython-553cdc6d6856c1b4539a45eb90d0769f7c629355.zip cpython-553cdc6d6856c1b4539a45eb90d0769f7c629355.tar.gz cpython-553cdc6d6856c1b4539a45eb90d0769f7c629355.tar.bz2 |
gh-128696: Add arm64 to the get_platform return val description (#128701)
-rw-r--r-- | Doc/library/sysconfig.rst | 3 | ||||
-rw-r--r-- | Lib/sysconfig/__init__.py | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/Doc/library/sysconfig.rst b/Doc/library/sysconfig.rst index 3921908..9f018f9 100644 --- a/Doc/library/sysconfig.rst +++ b/Doc/library/sysconfig.rst @@ -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: diff --git a/Lib/sysconfig/__init__.py b/Lib/sysconfig/__init__.py index 20d506b..7a4a8f6 100644 --- a/Lib/sysconfig/__init__.py +++ b/Lib/sysconfig/__init__.py @@ -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'. |