diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2016-12-02 00:13:46 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2016-12-02 00:13:46 (GMT) |
commit | d6958ac6c0fec90524bf9c4999c8bc75fff0c71b (patch) | |
tree | 93f5e47349d8b51b9cec9f2c1710b8dc1e13c98b /Doc | |
parent | edfe8869c8e888e676091c87330b3bf0f3d9814b (diff) | |
download | cpython-d6958ac6c0fec90524bf9c4999c8bc75fff0c71b.zip cpython-d6958ac6c0fec90524bf9c4999c8bc75fff0c71b.tar.gz cpython-d6958ac6c0fec90524bf9c4999c8bc75fff0c71b.tar.bz2 |
Add sys.getandroidapilevel()
Issue #28740: Add sys.getandroidapilevel(): return the build time
API version of Android as an integer.
Function only available on Android.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/sys.rst | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Doc/library/sys.rst b/Doc/library/sys.rst index 2d14a1d..f8ef83a 100644 --- a/Doc/library/sys.rst +++ b/Doc/library/sys.rst @@ -404,6 +404,15 @@ always available. .. versionadded:: 3.4 +.. function:: getandroidapilevel() + + Return the build time API version of Android as an integer. + + Availability: Android. + + .. versionadded:: 3.7 + + .. function:: getcheckinterval() Return the interpreter's "check interval"; see :func:`setcheckinterval`. |