summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2016-12-02 00:13:46 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2016-12-02 00:13:46 (GMT)
commitd6958ac6c0fec90524bf9c4999c8bc75fff0c71b (patch)
tree93f5e47349d8b51b9cec9f2c1710b8dc1e13c98b /Doc
parentedfe8869c8e888e676091c87330b3bf0f3d9814b (diff)
downloadcpython-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.rst9
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`.