mirror of
https://github.com/python/cpython.git
synced 2025-10-09 16:34:44 +00:00
gh-71052: Change Android's sys.platform
from "linux" to "android"
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
This commit is contained in:
parent
9f983e00ec
commit
872c0714fc
24 changed files with 97 additions and 81 deletions
|
@ -62,7 +62,7 @@ else:
|
|||
import platform
|
||||
_platform_system = platform.system()
|
||||
_AIX = _platform_system == 'AIX'
|
||||
_LINUX = _platform_system == 'Linux'
|
||||
_LINUX = _platform_system in ('Linux', 'Android')
|
||||
|
||||
_MAC_DELIM = b':'
|
||||
_MAC_OMITS_LEADING_ZEROES = False
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue