o1
and o2
on success, and NULL on
failure. This is the equivalent of the Python
expression: o1+o2
.
o
count
times,
or NULL on failure. This is the equivalent of the Python
expression: o*count
.
o
, or NULL on failure. This is the
equivalent of the Python expression: o[i]
.
o
between i1
and i2
, or
NULL on failure. This is the equivalent of the Python
expression, o[i1:i2]
.
v
to the i
th element of o
.
Returns -1 on failure. This is the equivalent of the Python
statement, o[i]=v
.
i
th element of object v
. Returns
-1 on failure. This is the equivalent of the Python
statement: del o[i]
.
v
to the slice in sequence
object o
from i1
to i2
. This is the equivalent of the Python
statement, o[i1:i2]=v
.
o
, from i1
to i2
.
Returns -1 on failure. This is the equivalent of the Python
statement: del o[i1:i2]
.
o
as a tuple on success, and NULL on failure.
This is equivalent to the Python expression: tuple(o)
.
value
on o
, that is,
return the number of keys for which o[key]==value
. On
failure, return -1. This is equivalent to the Python
expression: o.count(value)
.
o
contains value
. If an item in o
is equal to
value
, return 1, otherwise return 0. On error, return -1. This
is equivalent to the Python expression: value in o
.
o[i]==value
. On error,
return -1. This is equivalent to the Python
expression: o.index(value)
.