Skip to content

Commit 646bd79

Browse files
[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 553cdc6) Co-authored-by: RUANG (James Roy) <longjinyii@outlook.com>
1 parent de27372 commit 646bd79

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

Doc/library/sysconfig.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,8 @@ Other functions
388388

389389
Windows will return one of:
390390

391-
- win-amd64 (64bit Windows on AMD64, aka x86_64, Intel64, and EM64T)
391+
- win-amd64 (64-bit Windows on AMD64, aka x86_64, Intel64, and EM64T)
392+
- win-arm64 (64-bit Windows on ARM64, aka AArch64)
392393
- win32 (all others - specifically, sys.platform is returned)
393394

394395
macOS can return:

Lib/sysconfig/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -594,7 +594,8 @@ def get_platform():
594594
solaris-2.6-sun4u
595595
596596
Windows will return one of:
597-
win-amd64 (64bit Windows on AMD64 (aka x86_64, Intel64, EM64T, etc)
597+
win-amd64 (64-bit Windows on AMD64 (aka x86_64, Intel64, EM64T, etc)
598+
win-arm64 (64-bit Windows on ARM64 (aka AArch64)
598599
win32 (all others - specifically, sys.platform is returned)
599600
600601
For other non-POSIX platforms, currently just returns 'sys.platform'.

0 commit comments

Comments
 (0)