Docs for PRE.__class__

[ Python Tutorial ] [ Python Libraries ] [ web2py epydoc ]

Description


<type 'type'> extends (<type 'object'>,)


tuple() -> empty tuple tuple(iterable) -> tuple initialized from iterable's items

If the argument is a tuple, the return value is the same object.



Attributes


PRE.__class__.__add__ <type 'wrapper_descriptor'> belongs to class <type 'wrapper_descriptor'>

x.__add__(y) <==> x+y


PRE.__class__.__class__ <type 'type'> extends (<type 'object'>,) belongs to class <type 'type'>

type(object) -> the object's type type(name, bases, dict) -> a new type


PRE.__class__.__contains__ <type 'wrapper_descriptor'> belongs to class <type 'wrapper_descriptor'>

x.__contains__(y) <==> y in x


PRE.__class__.__delattr__ <type 'wrapper_descriptor'> belongs to class <type 'wrapper_descriptor'>

x.__delattr__('name') <==> del x.name


PRE.__class__.__doc__ <type 'str'> belongs to class <type 'str'>

str(object='') -> string

Return a nice string representation of the object. If the argument is a string, the return value is the same object.


PRE.__class__.__eq__ <type 'wrapper_descriptor'> belongs to class <type 'wrapper_descriptor'>

x.__eq__(y) <==> x==y


PRE.__class__.__format__ <type 'method_descriptor'> belongs to class <type 'method_descriptor'>

default object formatter


PRE.__class__.__ge__ <type 'wrapper_descriptor'> belongs to class <type 'wrapper_descriptor'>

x.__ge__(y) <==> x>=y


PRE.__class__.__getattribute__ <type 'wrapper_descriptor'> belongs to class <type 'wrapper_descriptor'>

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


PRE.__class__.__getitem__ <type 'wrapper_descriptor'> belongs to class <type 'wrapper_descriptor'>

x.__getitem__(y) <==> x[y]


PRE.__class__.__getnewargs__ <type 'method_descriptor'> belongs to class <type 'method_descriptor'>

PRE.__class__.__getslice__ <type 'wrapper_descriptor'> belongs to class <type 'wrapper_descriptor'>

x.__getslice__(i, j) <==> x[i:j]

Use of negative indices is not supported.


PRE.__class__.__gt__ <type 'wrapper_descriptor'> belongs to class <type 'wrapper_descriptor'>

x.__gt__(y) <==> x>y


PRE.__class__.__hash__ <type 'wrapper_descriptor'> belongs to class <type 'wrapper_descriptor'>

x.__hash__() <==> hash(x)


PRE.__class__.__init__ <type 'wrapper_descriptor'> belongs to class <type 'wrapper_descriptor'>

x.__init__(...) initializes x; see help(type(x)) for signature


PRE.__class__.__iter__ <type 'wrapper_descriptor'> belongs to class <type 'wrapper_descriptor'>

x.__iter__() <==> iter(x)


PRE.__class__.__le__ <type 'wrapper_descriptor'> belongs to class <type 'wrapper_descriptor'>

x.__le__(y) <==> x<=y


PRE.__class__.__len__ <type 'wrapper_descriptor'> belongs to class <type 'wrapper_descriptor'>

x.__len__() <==> len(x)


PRE.__class__.__lt__ <type 'wrapper_descriptor'> belongs to class <type 'wrapper_descriptor'>

x.__lt__(y) <==> x<y


PRE.__class__.__mul__ <type 'wrapper_descriptor'> belongs to class <type 'wrapper_descriptor'>

x.__mul__(n) <==> x*n


PRE.__class__.__ne__ <type 'wrapper_descriptor'> belongs to class <type 'wrapper_descriptor'>

x.__ne__(y) <==> x!=y


PRE.__class__.__new__ <type 'builtin_function_or_method'> belongs to class <type 'builtin_function_or_method'>

T.__new__(S, ...) -> a new object with type S, a subtype of T


PRE.__class__.__reduce__ <type 'method_descriptor'> belongs to class <type 'method_descriptor'>

helper for pickle


PRE.__class__.__reduce_ex__ <type 'method_descriptor'> belongs to class <type 'method_descriptor'>

helper for pickle


PRE.__class__.__repr__ <type 'wrapper_descriptor'> belongs to class <type 'wrapper_descriptor'>

x.__repr__() <==> repr(x)


PRE.__class__.__rmul__ <type 'wrapper_descriptor'> belongs to class <type 'wrapper_descriptor'>

x.__rmul__(n) <==> n*x


PRE.__class__.__setattr__ <type 'wrapper_descriptor'> belongs to class <type 'wrapper_descriptor'>

x.__setattr__('name', value) <==> x.name = value


PRE.__class__.__sizeof__ <type 'method_descriptor'> belongs to class <type 'method_descriptor'>

T.__sizeof__() -- size of T in memory, in bytes


PRE.__class__.__str__ <type 'wrapper_descriptor'> belongs to class <type 'wrapper_descriptor'>

x.__str__() <==> str(x)


PRE.__class__.__subclasshook__ <type 'builtin_function_or_method'> belongs to class <type 'builtin_function_or_method'>

Abstract classes can override this to customize issubclass().

This is invoked early on by abc.ABCMeta.__subclasscheck__(). It should return True, False or NotImplemented. If it returns NotImplemented, the normal algorithm is used. Otherwise, it overrides the normal algorithm (and the outcome is cached).


PRE.__class__.count <type 'method_descriptor'> belongs to class <type 'method_descriptor'>

T.count(value) -> integer -- return number of occurrences of value


PRE.__class__.index <type 'method_descriptor'> belongs to class <type 'method_descriptor'>

T.index(value, [start, [stop]]) -> integer -- return first index of value. Raises ValueError if the value is not present.