Docs for TAG

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

Description


<class 'gluon.html.__TAG__'> extends <function <lambda> at 0x559f197b7b38>


1.
2.
3.
4.
5.

TAG factory example:
>>>
print TAG.first(TAG.second('test'),_key=3)
<
first key="3"><second>test</second></first>


Attributes


TAG.__class__ <type 'type'> extends (<type 'object'>,) belongs to class <type 'type'>
TAG factory example: >>> print TAG.first(TAG.second('test'),_key=3) <first key="3"><second>test</second></first>

TAG.__delattr__ <type 'method-wrapper'> belongs to class <type 'method-wrapper'>
x.__delattr__('name') <==> del x.name

TAG.__dict__ <type 'dict'> belongs to class <type 'dict'>
dict() -> new empty dictionary. dict(mapping) -> new dictionary initialized from a mapping object's (key, value) pairs. dict(seq) -> new dictionary initialized as if via: d = {} for k, v in seq: d[k] = v dict(**kwargs) -> new dictionary initialized with the name=value pairs in the keyword argument list. For example: dict(one=1, two=2)

TAG.__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.

TAG.__getattr__ <type 'instancemethod'> belongs to class <type 'instancemethod'>

TAG.__getattribute__ <type 'method-wrapper'> belongs to class <type 'method-wrapper'>
x.__getattribute__('name') <==> x.name

TAG.__getitem__ <type 'instancemethod'> belongs to class <type 'instancemethod'>

TAG.__hash__ <type 'method-wrapper'> belongs to class <type 'method-wrapper'>
x.__hash__() <==> hash(x)

TAG.__init__ <type 'method-wrapper'> belongs to class <type 'method-wrapper'>
x.__init__(...) initializes x; see x.__class__.__doc__ for signature

TAG.__module__ <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.

TAG.__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

TAG.__reduce__ <type 'builtin_function_or_method'> belongs to class <type 'builtin_function_or_method'>
helper for pickle

TAG.__reduce_ex__ <type 'builtin_function_or_method'> belongs to class <type 'builtin_function_or_method'>
helper for pickle

TAG.__repr__ <type 'method-wrapper'> belongs to class <type 'method-wrapper'>
x.__repr__() <==> repr(x)

TAG.__setattr__ <type 'method-wrapper'> belongs to class <type 'method-wrapper'>
x.__setattr__('name', value) <==> x.name = value

TAG.__str__ <type 'method-wrapper'> belongs to class <type 'method-wrapper'>
x.__str__() <==> str(x)

TAG.__weakref__ <type 'NoneType'> belongs to class <type 'NoneType'>