opto.trace.operators#

Module Contents#

Functions#

clone

identity

pos

neg

abs

invert

round

floor

ceil

trunc

add

subtract

multiply

floor_divide

divide

mod

node_divmod

power

lshift

rshift

and_

or_

xor

lt

le

eq

neq

ne

ge

gt

cond

not_

is_

is_not

in_

not_in

getitem

pop

len_

ord_

chr_

concat

lower

upper

title

swapcase

capitalize

split

strip

replace

format

join

node_getattr

call

to_list

make_list

to_dict

make_dict

to_set

make_set

to_tuple

make_tuple

keys

values

dict_update

dict_pop

dict_popitem

list_append

list_clear

list_extend

list_insert

list_pop

list_remove

list_reverse

list_sort

set_add

set_clear

set_discard

set_intersection_update

set_pop

set_remove

set_symmetric_difference_update

set_update

API#

clone(x: Any)#
identity(x: Any)[source]#
pos(x: Any)#
neg(x: Any)#
abs(x: Any)#
invert(x: Any)#
round(x: Any, n: Any)#
floor(x: Any)#
ceil(x: Any)#
trunc(x: Any)#
add(x: Any, y: Any)#
subtract(x: Any, y: Any)#
multiply(x: Any, y: Any)#
floor_divide(x: Any, y: Any)#
divide(x: Any, y: Any)#
mod(x: Any, y: Any)#
node_divmod(x: Any, y: Any)#
power(x: Any, y: Any)#
lshift(x: Any, y: Any)#
rshift(x: Any, y: Any)#
and_(x: Any, y: Any)#
or_(x: Any, y: Any)#
xor(x: Any, y: Any)#
lt(x: Any, y: Any)#
le(x: Any, y: Any)#
eq(x: Any, y: Any)#
neq(x: Any, y: Any)#
ne(x: Any, y: Any)#
ge(x: Any, y: Any)#
gt(x: Any, y: Any)#
cond(condition: Any, x: Any, y: Any)#
not_(x: Any)#
is_(x: Any, y: Any)#
is_not(x: Any, y: Any)#
in_(x: Any, y: Any)#
not_in(x: Any, y: Any)#
getitem(x: Any, index: Any)#
pop(x: Any, index: Any)#
len_(x: Any)#
ord_(x: Any)#
chr_(x: Any)#
concat(x: Any, y: Any)#
lower(x: Any)#
upper(x: Any)#
title(x: Any)#
swapcase(x: Any)#
capitalize(x: Any)#
split(x: Any, y: Any, maxsplit: Any = -1)#
strip(x: Any, chars=None)#
replace(x: Any, old: Any, new: Any, count: Any = -1)#
format(x: Any, *args, **kwargs)#
join(x: Any, *y: Any)#
node_getattr(obj: opto.trace.nodes.Node, attr: str)#
call(fun: opto.trace.nodes.Node, *args, **kwargs)#
to_list(x: Any)#
make_list(*args)#
to_dict(x: Any)#
make_dict(**kwargs)#
to_set(x: Any)#
make_set(*args)#
to_tuple(x: Any)#
make_tuple(*args)#
keys(x: Dict)#
values(x: Dict)#
dict_update(x: Dict, y: Dict)#
dict_pop(x: Dict, key: Any)#
dict_popitem(x: Dict)#
list_append(x: Any, y: Any)#
list_clear(x: Any)#
list_extend(x: Any, y: Any)#
list_insert(x: Any, index: Any, y: Any)#
list_pop(x: Any, index: Any)#
list_remove(x: Any, y: Any)#
list_reverse(x: Any)#
list_sort(x: Any, key: Any = None, reverse: Any = False)#
set_add(x: Any, y: Any)#
set_clear(x: Any)#
set_discard(x: Any, y: Any)#
set_intersection_update(x: Any, y: Any)#
set_pop(x: Any)#
set_remove(x: Any, y: Any)#
set_symmetric_difference_update(x: Any, y: Any)#
set_update(x: Any, y: Any)#