internal.builtin
getattr(obj, attr: Literal[str], default, typ: type = NoneType)
getattr(obj, attr: Literal[str], type: type = NoneType)
id(x)
print(*args, sep: str = " ", end: str = "\n", file = None, flush: bool = False)
input(prompt: str = "")
min(*args, key = None, default = None)
max(*args, key = None, default = None)
len(x)
iter(x)
abs(x)
hash(x)
ord(character: str)
divmod(a, b)
chr(codepoint: int)
next(g: Generator[T], default: Optional[T] = None, T: type)
any(x: Generator[T], T: type)
all(x: Generator[T], T: type)
zip(*args)
filter(f: CallableTrait[T, bool], x: Generator[T], T: type)
map(f, *args)
enumerate(x, start: int = 0)
echo(x)
reversed(x)
round(x, ndigits = None)
sum(x, start = 0)
repr(x)
bin(n)
oct(n)
hex(n)
format(value, format_spec: str = "")
pow(base: float, exp: float)
pow(base: int, exp: int, mod: Optional[int] = None)
class Int[N]
Extends
Int · View complete class API →
class UInt[N]
Extends
UInt · View complete class API →
class float
Extends
float · View complete class API →
class complex
Extends
complex · View complete class API →
class float32
Extends
float32 · View complete class API →
class float16
Extends
float16 · View complete class API →
class bfloat16
Extends
bfloat16 · View complete class API →
class complex64
Extends
complex64 · View complete class API →
cast(U: type, obj)