mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-06 20:24:30 +08:00
35 lines
842 B
Python
35 lines
842 B
Python
"""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.
|
|
|
|
from typing import List, Tuple, Dict, Undefined, GenericType
|
|
|
|
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) -> None: pass
|
|
|
|
def strftime(a: str, *args, **kwargs) -> str:
|
|
raise MemoryError()
|
|
raise ValueError()
|
|
|
|
def strptime(*args, **kwargs) -> object: pass
|
|
|
|
def time() -> float:
|
|
raise IOError()
|
|
|
|
def tzset() -> None: pass
|