File tree Expand file tree Collapse file tree 2 files changed +16
-24
lines changed Expand file tree Collapse file tree 2 files changed +16
-24
lines changed Original file line number Diff line number Diff line change @@ -382,29 +382,25 @@ Other functions
382
382
383
383
Returned values:
384
384
385
- Linux platforms:
385
+ Examples of Linux returned values:
386
+
386
387
- linux-i586
387
388
- linux-i686
388
389
- linux-alpha (?)
389
390
- solaris-2.6-sun4u
390
391
391
392
Windows platforms:
393
+
392
394
- win32 (32-bit Windows)
393
395
- win-amd64 (64-bit Windows on AMD64, aka x86_64, Intel64, and EM64T)
394
396
- win-arm64 (64-bit Windows on ARM64, aka AArch64)
395
397
- win-arm32 (32-bit Windows on ARM)
396
398
397
- macOS platforms:
398
- - macosx-{11.*-15.*}-arm64 (Apple Silicon)
399
- - macosx-10.{3,4}-ppc (PowerPC)
400
- - macosx-10.{3,4}-ppc64 (64-bit PowerPC)
401
- - macosx-10.{3,4}-i386 (32-bit Intel)
402
- - macosx-10.{3,4}-x86_64 (64-bit Intel)
403
- - macosx-10.4-fat (Universal binary with PPC and i386)
404
- - macosx-10.4-fat3 (Universal binary with x86_64, PPC, and i386)
405
- - macosx-10.4-fat64 (Universal binary with x86_64 and ppc64)
406
- - macosx-10.4-universal (Universal binary with ppc64, x86_64, ppc, and i386)
407
- - macosx-10.4-intel (Intel binary with x86_64 and i386)
399
+ Examples of macOS returned values:
400
+
401
+ - macosx-10.13-x86_64
402
+ - macosx-11-universal2
403
+ - macosx-15.5-arm64
408
404
409
405
410
406
For other non-POSIX platforms, currently just returns :data: `sys.platform `.
Original file line number Diff line number Diff line change @@ -640,29 +640,25 @@ def get_platform():
640
640
641
641
Returned values:
642
642
643
- Linux platforms:
643
+ Examples of Linux returned values:
644
+
644
645
- linux-i586
645
646
- linux-i686
646
647
- linux-alpha (?)
647
648
- solaris-2.6-sun4u
648
649
649
650
Windows platforms:
651
+
650
652
- win32 (32-bit Windows)
651
653
- win-amd64 (64-bit Windows on AMD64, aka x86_64, Intel64, and EM64T)
652
654
- win-arm64 (64-bit Windows on ARM64, aka AArch64)
653
655
- win-arm32 (32-bit Windows on ARM)
654
656
655
- macOS platforms:
656
- - macosx-{11.*-15.*}-arm64 (Apple Silicon)
657
- - macosx-10.{3,4}-ppc (PowerPC)
658
- - macosx-10.{3,4}-ppc64 (64-bit PowerPC)
659
- - macosx-10.{3,4}-i386 (32-bit Intel)
660
- - macosx-10.{3,4}-x86_64 (64-bit Intel)
661
- - macosx-10.4-fat (Universal binary with PPC and i386)
662
- - macosx-10.4-fat3 (Universal binary with x86_64, PPC, and i386)
663
- - macosx-10.4-fat64 (Universal binary with x86_64 and ppc64)
664
- - macosx-10.4-universal (Universal binary with ppc64, x86_64, ppc, and i386)
665
- - macosx-10.4-intel (Intel binary with x86_64 and i386)
657
+ Examples of macOS returned values:
658
+
659
+ - macosx-10.13-x86_64
660
+ - macosx-11-universal2
661
+ - macosx-15.5-arm64
666
662
667
663
668
664
For other non-POSIX platforms, currently just returns :data:`sys.platform`.
You can’t perform that action at this time.
0 commit comments