mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 13:04:46 +08:00
Add Python 3 modules, and more Python 2 modules.
Also, sort names alphabetically and add module docstrings.
This commit is contained in:
@@ -1,31 +1,32 @@
|
||||
"""Stub file for the 'time' module."""
|
||||
# This is an autogenerated file. It serves as a starting point
|
||||
# for a more percise manual annotation of this module.
|
||||
# Feel free to edit the source below, but remove this header when you do.
|
||||
|
||||
def ctime(*args, **kwargs) -> str:
|
||||
raise ValueError()
|
||||
|
||||
def strptime(*args, **kwargs) -> object: pass
|
||||
|
||||
def strftime(a: str, *args, **kwargs) -> str:
|
||||
raise MemoryError()
|
||||
raise ValueError()
|
||||
|
||||
def tzset() -> NoneType: pass
|
||||
|
||||
def time() -> float:
|
||||
raise IOError()
|
||||
|
||||
def mktime(*args, **kwargs) -> float:
|
||||
raise OverflowError()
|
||||
|
||||
def sleep(a: float) -> NoneType: pass
|
||||
|
||||
def gmtime(*args, **kwargs) -> tuple: pass
|
||||
|
||||
def asctime(*args, **kwargs) -> str:
|
||||
raise ValueError()
|
||||
|
||||
def clock() -> float: pass
|
||||
|
||||
def ctime(*args, **kwargs) -> str:
|
||||
raise ValueError()
|
||||
|
||||
def gmtime(*args, **kwargs) -> tuple: pass
|
||||
|
||||
def localtime(*args, **kwargs) -> tuple: pass
|
||||
|
||||
def mktime(*args, **kwargs) -> float:
|
||||
raise OverflowError()
|
||||
|
||||
def sleep(a: float) -> NoneType: pass
|
||||
|
||||
def strftime(a: str, *args, **kwargs) -> str:
|
||||
raise ValueError()
|
||||
raise MemoryError()
|
||||
|
||||
def strptime(*args, **kwargs) -> object: pass
|
||||
|
||||
def time() -> float:
|
||||
raise IOError()
|
||||
|
||||
def tzset() -> NoneType: pass
|
||||
|
||||
Reference in New Issue
Block a user