object --+
|
buffer
buffer(object [, offset[, size]])
Create a new buffer object which references the given object. The
buffer will reference a slice of the target object from the start of the
object (or at the specified offset). The slice will extend to the end of
the target object (or with the specified size).
|
|
|
|
|
__delitem__(x,
y)
del x[y] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
a new object with type S, a subtype of T
|
|
|
|
|
|
|
__setitem__(x,
i,
y)
x[i]=y |
|
|
|
|
|
|
__delslice__(x,
i,
j)
(Slice deletion operator)
|
|
del x[i:j]
Use of negative indices is not supported.
|
x.__getattribute__('name') <==> x.name
- Overrides:
object.__getattribute__
|
__getslice__(x,
i,
j)
(Slicling operator)
|
|
x[i:j]
Use of negative indices is not supported.
|
__hash__(x)
(Hashing function)
|
|
hash(x)
- Overrides:
object.__hash__
|
- Returns: a new object with type S, a subtype of T
- Overrides:
object.__new__
|
__repr__(x)
(Representation operator)
|
|
repr(x)
- Overrides:
object.__repr__
|
__setslice__(x,
i,
j,
y)
(Slice assignment operator)
|
|
x[i:j]=y
Use of negative indices is not supported.
|
__str__(x)
(Informal representation operator)
|
|
str(x)
- Overrides:
object.__str__
|