|
4.26.3 pyobject operations
+
- addition
-
- negation or subtraction
*
- multiplication
/
- division
^ , **
- power by a positive integer
< , <= , > , >= , == , <>
- comparators (considering leading monomials w.r.t. monomial ordering)
- pyobject_expression
[ int_expression ]
- get the item from the pyobject by index
- pyobject_expression
( pyobject_expression_sequence )
- call the pyobject with a sequence of python arguments (the latter
may be empty)
- pyobject_expression
. ( string_expression | name ),
- pyobject_expression
:: ( string_expression | name )
get attribute (class member) of a python object
Example:
|