mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-03 08:23:47 +08:00
Add type stub for sys.getandroidapilevel (#14936)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
This commit is contained in:
1 parent
de2a42713a
commit
543f7f2384
1 file changed
+4
@@ -373,6 +373,10 @@ if sys.version_info >= (3, 11):
|
||||
def exception() -> BaseException | None: ...
|
||||
|
||||
def exit(status: _ExitCode = None, /) -> NoReturn: ...
|
||||
|
||||
if sys.platform == "android": # noqa: Y008
|
||||
def getandroidapilevel() -> int: ...
|
||||
|
||||
def getallocatedblocks() -> int: ...
|
||||
def getdefaultencoding() -> str: ...
|
||||
|
||||
|
||||
Reference in new issue
Block a user