Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f159723

Browse files
committed
missing non posix example or removal
1 parent cb393a0 commit f159723

File tree

2 files changed

+11
-23
lines changed

2 files changed

+11
-23
lines changed

Doc/library/sysconfig.rst

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -382,24 +382,19 @@ Other functions
382382

383383
Examples of returned values:
384384

385-
Linux
386385

387-
- linux-i586
388-
- linux-i686
389-
- linux-alpha (?)
390-
- solaris-2.6-sun4u
391-
392-
Windows
386+
Windows:
393387

394388
- win-amd64 (64-bit Windows on AMD64, aka x86_64, Intel64, and EM64T)
395389
- win-arm64 (64-bit Windows on ARM64, aka AArch64)
396390

397-
macOS
391+
POSIX based OS:
398392

399-
- macosx-10.13-x86_64
400-
- macosx-11-universal2
393+
- linux-x86_64
401394
- macosx-15.5-arm64
395+
- android-9-arm64_v8a
402396

397+
Other non-POSIX platforms:
403398

404399
For other non-POSIX platforms, currently just returns :data:`sys.platform`.
405400

Lib/sysconfig/__init__.py

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -640,27 +640,20 @@ def get_platform():
640640
641641
Examples of returned values:
642642
643-
Linux
644-
645-
- linux-i586
646-
- linux-i686
647-
- linux-alpha (?)
648-
- solaris-2.6-sun4u
649-
650-
Windows
643+
Windows:
651644
652645
- win-amd64 (64-bit Windows on AMD64, aka x86_64, Intel64, and EM64T)
653646
- win-arm64 (64-bit Windows on ARM64, aka AArch64)
654647
655-
macOS
648+
POSIX based OS:
656649
657-
- macosx-10.13-x86_64
658-
- macosx-11-universal2
650+
- linux-x86_64
659651
- macosx-15.5-arm64
652+
- android-9-arm64_v8a
660653
654+
Other non-POSIX platforms:
661655
662-
For other non-POSIX platforms, currently just returns :data:`sys.platform`.
663-
656+
For other non-POSIX platforms, currently just returns :data:`sys.platform`.
664657
"""
665658
if os.name == 'nt':
666659
if 'amd64' in sys.version.lower():

0 commit comments

Comments
 (0)