mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-08 20:43:25 +08:00
Rename .py to .pyi.
This commit is contained in:
34
2.7/time.pyi
Normal file
34
2.7/time.pyi
Normal file
@@ -0,0 +1,34 @@
|
||||
"""Stub file for the 'time' module."""
|
||||
# This is an autogenerated file. It serves as a starting point
|
||||
# for a more precise 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: ...
|
||||
|
||||
def ctime(*args, **kwargs) -> str:
|
||||
raise ValueError()
|
||||
|
||||
def gmtime(*args, **kwargs) -> tuple: ...
|
||||
|
||||
def localtime(*args, **kwargs) -> tuple: ...
|
||||
|
||||
def mktime(*args, **kwargs) -> float:
|
||||
raise OverflowError()
|
||||
|
||||
def sleep(a: float) -> None: ...
|
||||
|
||||
def strftime(a: str, *args, **kwargs) -> str:
|
||||
raise MemoryError()
|
||||
raise ValueError()
|
||||
|
||||
def strptime(*args, **kwargs) -> object: ...
|
||||
|
||||
def time() -> float:
|
||||
raise IOError()
|
||||
|
||||
def tzset() -> None: ...
|
||||
Reference in New Issue
Block a user