mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
gh-71042: Add platform.android_ver
(#116674)
This commit is contained in:
parent
ce00de4c8c
commit
74c8568d07
9 changed files with 164 additions and 16 deletions
|
@ -179,6 +179,9 @@ def collect_platform(info_add):
|
|||
info_add(f'platform.freedesktop_os_release[{key}]',
|
||||
os_release[key])
|
||||
|
||||
if sys.platform == 'android':
|
||||
call_func(info_add, 'platform.android_ver', platform, 'android_ver')
|
||||
|
||||
|
||||
def collect_locale(info_add):
|
||||
import locale
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue