internal.builtin

Standard library module View source
function getattr
getattr(obj, attr: Literal[str], default, typ: type = NoneType)
@overload
getattr(obj, attr: Literal[str], type: type = NoneType)
function id
id(x)
function print
print(*args, sep: str = " ", end: str = "\n", file = None, flush: bool = False)
function input
input(prompt: str = "")
function min
min(*args, key = None, default = None)
function max
max(*args, key = None, default = None)
function len
len(x)
function iter
iter(x)
function abs
abs(x)
function hash
hash(x)
function ord
ord(character: str)
function divmod
divmod(a, b)
function chr
chr(codepoint: int)
function next
next(g: Generator[T], default: Optional[T] = None, T: type)
function any
any(x: Generator[T], T: type)
function all
all(x: Generator[T], T: type)
function zip
zip(*args)
function filter
filter(f: CallableTrait[T, bool], x: Generator[T], T: type)
function map
map(f, *args)
function enumerate
enumerate(x, start: int = 0)
function echo
echo(x)
function reversed
reversed(x)
function round
round(x, ndigits = None)
function sum
sum(x, start = 0)
function repr
repr(x)
function bin
bin(n)
function oct
oct(n)
function hex
hex(n)
function format
format(value, format_spec: str = "")
function pow
pow(base: float, exp: float)
@overload
pow(base: int, exp: int, mod: Optional[int] = None)
function cast
@inline
cast(U: type, obj)