Skip to content

Commit 10193fa

Browse files
committed
Add arm64 to the get_platform method doc
1 parent ef63cca commit 10193fa

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

Doc/library/sysconfig.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -389,6 +389,7 @@ Other functions
389389
Windows will return one of:
390390

391391
- win-amd64 (64bit Windows on AMD64, aka x86_64, Intel64, and EM64T)
392+
- win-arm64 (64bit 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: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -617,6 +617,7 @@ def get_platform():
617617
618618
Windows will return one of:
619619
win-amd64 (64bit Windows on AMD64 (aka x86_64, Intel64, EM64T, etc)
620+
win-arm64 (64bit Windows on ARM64 (aka AArch64)
620621
win32 (all others - specifically, sys.platform is returned)
621622
622623
For other non-POSIX platforms, currently just returns 'sys.platform'.

0 commit comments

Comments
 (0)