]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.13] gh-128696: Add arm64 to the get_platform return val description (GH-128701...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 3 Feb 2025 23:56:23 +0000 (00:56 +0100)
committerGitHub <noreply@github.com>
Mon, 3 Feb 2025 23:56:23 +0000 (23:56 +0000)
gh-128696: Add arm64 to the get_platform return val description (GH-128701)
(cherry picked from commit 553cdc6d6856c1b4539a45eb90d0769f7c629355)

Co-authored-by: RUANG (James Roy) <longjinyii@outlook.com>
Doc/library/sysconfig.rst
Lib/sysconfig/__init__.py

index 3921908b7c7bfc5cf89f95b8edd8006f602bb1dd..9f018f9c8f0e50b8f4c3979624d72a0d00ff7882 100644 (file)
@@ -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:
index 43eda00ea92c6eeb7380a379e127125583af3908..7bcb737ff2cca34e96c02ce68ee7025d201358c9 100644 (file)
@@ -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'.