mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-06 20:24:30 +08:00
21 lines
710 B
Python
21 lines
710 B
Python
"""Stub file for the '_random' 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
|
|
|
|
class Random(object):
|
|
def getrandbits(a: int) -> object:
|
|
raise MemoryError()
|
|
raise ValueError()
|
|
def getstate() -> tuple: ...
|
|
def jumpahead(*args, **kwargs) -> None:
|
|
raise TypeError()
|
|
def random() -> float: ...
|
|
def seed(*args, **kwargs) -> None:
|
|
raise MemoryError()
|
|
def setstate(*args, **kwargs) -> None:
|
|
raise TypeError()
|
|
raise ValueError()
|