]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-128696: Add arm64 to the get_platform return val description (#128701)
authorRUANG (James Roy) <longjinyii@outlook.com>
Sat, 11 Jan 2025 01:03:12 +0000 (09:03 +0800)
committerGitHub <noreply@github.com>
Sat, 11 Jan 2025 01:03:12 +0000 (01:03 +0000)
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 20d506bcd45abc3d7e96f47c84c8cce84232f6c9..7a4a8f65a5eb3e2e0cb4c0bc964aa0786d48410f 100644 (file)
@@ -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'.