Docs for FORM.__class__

[ Python Tutorial ] [ Python Libraries ] [ web2py source docs ]

Description


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


Built-in immutable sequence.

If no argument is given, the constructor returns an empty tuple. If iterable is specified the tuple is initialized from iterable's items.

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



Attributes


FORM.__class__.__add__ <class 'wrapper_descriptor'> belongs to class <class 'wrapper_descriptor'>

Return self+value.


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

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


FORM.__class__.__contains__ <class 'wrapper_descriptor'> belongs to class <class 'wrapper_descriptor'>

Return key in self.


FORM.__class__.__delattr__ <class 'wrapper_descriptor'> belongs to class <class 'wrapper_descriptor'>

Implement delattr(self, name).


FORM.__class__.__dir__ <class 'method_descriptor'> belongs to class <class 'method_descriptor'>

Default dir() implementation.


FORM.__class__.__doc__ <class 'str'> belongs to class <class 'str'>

str(object='') -> str str(bytes_or_buffer[, encoding[, errors]]) -> str

Create a new string object from the given object. If encoding or errors is specified, then the object must expose a data buffer that will be decoded using the given encoding and error handler. Otherwise, returns the result of object.__str__() (if defined) or repr(object). encoding defaults to sys.getdefaultencoding(). errors defaults to 'strict'.


FORM.__class__.__eq__ <class 'wrapper_descriptor'> belongs to class <class 'wrapper_descriptor'>

Return self==value.


FORM.__class__.__format__ <class 'method_descriptor'> belongs to class <class 'method_descriptor'>

Default object formatter.


FORM.__class__.__ge__ <class 'wrapper_descriptor'> belongs to class <class 'wrapper_descriptor'>

Return self>=value.


FORM.__class__.__getattribute__ <class 'wrapper_descriptor'> belongs to class <class 'wrapper_descriptor'>

Return getattr(self, name).


FORM.__class__.__getitem__ <class 'wrapper_descriptor'> belongs to class <class 'wrapper_descriptor'>

Return self[key].


FORM.__class__.__getnewargs__ <class 'method_descriptor'> belongs to class <class 'method_descriptor'>

FORM.__class__.__gt__ <class 'wrapper_descriptor'> belongs to class <class 'wrapper_descriptor'>

Return self>value.


FORM.__class__.__hash__ <class 'wrapper_descriptor'> belongs to class <class 'wrapper_descriptor'>

Return hash(self).


FORM.__class__.__init__ <class 'wrapper_descriptor'> belongs to class <class 'wrapper_descriptor'>

Initialize self. See help(type(self)) for accurate signature.


FORM.__class__.__init_subclass__ <class 'builtin_function_or_method'> belongs to class <class 'builtin_function_or_method'>

This method is called when a class is subclassed.

The default implementation does nothing. It may be overridden to extend subclasses.


FORM.__class__.__iter__ <class 'wrapper_descriptor'> belongs to class <class 'wrapper_descriptor'>

Implement iter(self).


FORM.__class__.__le__ <class 'wrapper_descriptor'> belongs to class <class 'wrapper_descriptor'>

Return self<=value.


FORM.__class__.__len__ <class 'wrapper_descriptor'> belongs to class <class 'wrapper_descriptor'>

Return len(self).


FORM.__class__.__lt__ <class 'wrapper_descriptor'> belongs to class <class 'wrapper_descriptor'>

Return self<value.


FORM.__class__.__mul__ <class 'wrapper_descriptor'> belongs to class <class 'wrapper_descriptor'>

Return self*value.


FORM.__class__.__ne__ <class 'wrapper_descriptor'> belongs to class <class 'wrapper_descriptor'>

Return self!=value.


FORM.__class__.__new__ <class 'builtin_function_or_method'> belongs to class <class 'builtin_function_or_method'>

Create and return a new object. See help(type) for accurate signature.


FORM.__class__.__reduce__ <class 'method_descriptor'> belongs to class <class 'method_descriptor'>

Helper for pickle.


FORM.__class__.__reduce_ex__ <class 'method_descriptor'> belongs to class <class 'method_descriptor'>

Helper for pickle.


FORM.__class__.__repr__ <class 'wrapper_descriptor'> belongs to class <class 'wrapper_descriptor'>

Return repr(self).


FORM.__class__.__rmul__ <class 'wrapper_descriptor'> belongs to class <class 'wrapper_descriptor'>

Return value*self.


FORM.__class__.__setattr__ <class 'wrapper_descriptor'> belongs to class <class 'wrapper_descriptor'>

Implement setattr(self, name, value).


FORM.__class__.__sizeof__ <class 'method_descriptor'> belongs to class <class 'method_descriptor'>

Size of object in memory, in bytes.


FORM.__class__.__str__ <class 'wrapper_descriptor'> belongs to class <class 'wrapper_descriptor'>

Return str(self).


FORM.__class__.__subclasshook__ <class 'builtin_function_or_method'> belongs to class <class '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).


FORM.__class__.count <class 'method_descriptor'> belongs to class <class 'method_descriptor'>

Return number of occurrences of value.


FORM.__class__.index <class 'method_descriptor'> belongs to class <class 'method_descriptor'>

Return first index of value.

Raises ValueError if the value is not present.