X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=trunk%2Fpsycopg2%2Fdoc%2Fapi%2Fprivate%2F__builtin__.list-class.html;fp=trunk%2Fpsycopg2%2Fdoc%2Fapi%2Fprivate%2F__builtin__.list-class.html;h=c8217a7ada847d69877156fcbfb0a2422606c98f;hb=5a4c1b1278ffa01e630fde47f7c54888ed20a576;hp=0000000000000000000000000000000000000000;hpb=cee5ab52df1c9f38b6eaff2dd354cb22f59028c7;p=plcapi.git diff --git a/trunk/psycopg2/doc/api/private/__builtin__.list-class.html b/trunk/psycopg2/doc/api/private/__builtin__.list-class.html new file mode 100644 index 0000000..c8217a7 --- /dev/null +++ b/trunk/psycopg2/doc/api/private/__builtin__.list-class.html @@ -0,0 +1,817 @@ + + + + + __builtin__.list + + + + + + + + + + + + + + + + + + + +
+ + Module __builtin__ :: + Class list +
+
+ + +
[show private | hide private]
[frames | no frames]
+ + +

Type list

+ +
+object --+
+         |
+        list
+

+ +
Known Subclasses:
+
+ DictRow
+ +
+ +

list() -> new list +list(sequence) -> new list initialized from sequence's items

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Method Summary
 __init__(...) +
+x.__init__(...) initializes x; see x.__class__.__doc__ for signature
 __add__(x, + y) +
+Return x+y...
 __contains__(x, + y) +
+Return y in x...
 __delitem__(x, + y) +
+Return del x[y]...
 __delslice__(x, + i, + j) +
+Use of negative indices is not supported.
 __eq__(x, + y) +
+Return x==y...
 __ge__(x, + y) +
+Return x>=y...
 __getattribute__(...) +
+x.__getattribute__('name') <==> x.name
 __getitem__(x, + y) +
+Return x[y]...
 __getslice__(x, + i, + j) +
+Use of negative indices is not supported.
 __gt__(x, + y) +
+Return x>y...
 __hash__(x) +
+Return hash(x)...
 __iadd__(x, + y) +
+Return x+=y...
 __imul__(x, + y) +
+Return x*=y...
 __iter__(x) +
+Return iter(x)...
 __le__(x, + y) +
+Return x<=y...
 __len__(x) +
+Return len(x)...
 __lt__(x, + y) +
+Return x<y...
 __mul__(x, + n) +
+Return x*n...
 __ne__(x, + y) +
+Return x!=y...
 __new__(T, + S, + ...) +
+Return a new object with type S, a subtype of T...
 __repr__(x) +
+Return repr(x)...
 __rmul__(x, + n) +
+Return n*x...
 __setitem__(x, + i, + y) +
+Return x[i]=y...
 __setslice__(x, + i, + j, + y) +
+Use of negative indices is not supported.
 append(L, + object) +
+append object to end
 count(L, + value) +
+return number of occurrences of value
 extend(L, + iterable) +
+extend list by appending elements from the iterable
 index(...) +
+L.index(value, [start, [stop]]) -> integer -- return first index of value
 insert(L, + index, + object) +
+insert object before index
 pop(L, + index) +
+remove and return item at index (default last)
 remove(L, + value) +
+remove first occurrence of value
 reverse(L) +
+reverse IN PLACE
 sort(L, + cmpfunc) +
+stable sort IN PLACE; cmpfunc(x, y) -> -1, 0, 1
    Inherited from object
 __delattr__(...) +
+x.__delattr__('name') <==> del x.name
 __reduce__(...) +
+helper for pickle
 __reduce_ex__(...) +
+helper for pickle
 __setattr__(...) +
+x.__setattr__('name', value) <==> x.name = value
 __str__(x) +
+Return str(x)...

+ + + + + + +
Method Details
+ + +
+

__init__(...) +
(Constructor) +

+

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

+
+
Overrides:
+
__builtin__.object.__init__
+
+
+
+ + +
+

__add__(x, + y) +
(Addition operator) +

+
+
Returns:
+
+
+x+y
+
+
+
+
+
+ + +
+

__contains__(x, + y) +
(In operator) +

+
+
Returns:
+
+
+y in x
+
+
+
+
+
+ + +
+

__delitem__(x, + y) +
(Index deletion operator) +

+
+
Returns:
+
+
+del x[y]
+
+
+
+
+
+ + +
+

__delslice__(x, + i, + j) +
(Slice deletion operator) +

+

Use of negative indices is not supported.

+
+
Returns:
+
+
+del x[i:j]
+
+
+
+
+
+ + +
+

__eq__(x, + y) +
(Equality operator) +

+
+
Returns:
+
+
+x==y
+
+
+
+
+
+ + +
+

__ge__(x, + y) +
(Greater-than-or-equals operator) +

+
+
Returns:
+
+
+x>=y
+
+
+
+
+
+ + +
+

__getattribute__(...) +

+

x.__getattribute__('name') <==> x.name

+
+
Overrides:
+
__builtin__.object.__getattribute__
+
+
+
+ + +
+

__getitem__(x, + y) +
(Indexing operator) +

+
+
Returns:
+
+
+x[y]
+
+
+
+
+
+ + +
+

__getslice__(x, + i, + j) +
(Slicling operator) +

+

Use of negative indices is not supported.

+
+
Returns:
+
+
+x[i:j]
+
+
+
+
+
+ + +
+

__gt__(x, + y) +
(Greater-than operator) +

+
+
Returns:
+
+
+x>y
+
+
+
+
+
+ + +
+

__hash__(x) +
(Hashing function) +

+
+
Returns:
+
+
+hash(x)
+
+
+
+
Overrides:
+
__builtin__.object.__hash__
+
+
+
+ + +
+

__iadd__(x, + y) +

+
+
Returns:
+
+
+x+=y
+
+
+
+
+
+ + +
+

__imul__(x, + y) +

+
+
Returns:
+
+
+x*=y
+
+
+
+
+
+ + +
+

__iter__(x) +

+
+
Returns:
+
+
+iter(x)
+
+
+
+
+
+ + +
+

__le__(x, + y) +
(Less-than-or-equals operator) +

+
+
Returns:
+
+
+x<=y
+
+
+
+
+
+ + +
+

__len__(x) +
(Length operator) +

+
+
Returns:
+
+
+len(x)
+
+
+
+
+
+ + +
+

__lt__(x, + y) +
(Less-than operator) +

+
+
Returns:
+
+
+x<y
+
+
+
+
+
+ + +
+

__mul__(x, + n) +

+
+
Returns:
+
+
+x*n
+
+
+
+
+
+ + +
+

__ne__(x, + y) +
(Inequality operator) +

+
+
Returns:
+
+
+x!=y
+
+
+
+
+
+ + +
+

__new__(T, + S, + ...) +

+
+
Returns:
+
+
+a new object with type S, a subtype of T
+
+
+
+
Overrides:
+
__builtin__.object.__new__
+
+
+
+ + +
+

__repr__(x) +
(Representation operator) +

+
+
Returns:
+
+
+repr(x)
+
+
+
+
Overrides:
+
__builtin__.object.__repr__
+
+
+
+ + +
+

__rmul__(x, + n) +

+
+
Returns:
+
+
+n*x
+
+
+
+
+
+ + +
+

__setitem__(x, + i, + y) +
(Index assignment operator) +

+
+
Returns:
+
+
+x[i]=y
+
+
+
+
+
+ + +
+

__setslice__(x, + i, + j, + y) +
(Slice assignment operator) +

+

Use of negative indices is not supported.

+
+
Returns:
+
+
+x[i:j]=y
+
+
+
+
+
+ + +
+

append(L, + object) +

+

append object to end

+
+
+
+ + +
+

count(L, + value) +

+

return number of occurrences of value

+
+
Returns:
+
+
+integer
+
+
+
+
+
+ + +
+

extend(L, + iterable) +

+

extend list by appending elements from the iterable

+
+
+
+ + +
+

index(...) +

+

L.index(value, [start, [stop]]) -> integer -- return first index of value

+
+
+
+ + +
+

insert(L, + index, + object) +

+

insert object before index

+
+
+
+ + +
+

pop(L, + index=...) +

+

remove and return item at index (default last)

+
+
Returns:
+
+
+item
+
+
+
+
+
+ + +
+

remove(L, + value) +

+

remove first occurrence of value

+
+
+
+ + +
+

reverse(L) +

+

reverse IN PLACE

+
+
+
+ + +
+

sort(L, + cmpfunc=None) +

+

stable sort IN PLACE; cmpfunc(x, y) -> -1, 0, 1

+
+
+
+
+ + + + + + + + + + + + + + + + + + +
+ +