Docs for BODY.tag.rpartition

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

Description


<type 'builtin_function_or_method'>


1.
2.
3.
4.
5.
S.rpartition(sep) -> (tail, sep, head)

Searches for the separator sep in S, starting at the end of S, and returns
the part before it, the separator itself, and the part after it. If the
separator is not found, returns two empty strings and S.


Attributes


BODY.tag.rpartition.__call__ <type 'method-wrapper'> belongs to class <type 'method-wrapper'>
x.__call__(...) <==> x(...)

BODY.tag.rpartition.__class__ <type 'type'> extends (<type 'object'>,) belongs to class <type 'type'>
<attribute '__doc__' of 'builtin_function_or_method' objects>

BODY.tag.rpartition.__cmp__ <type 'method-wrapper'> belongs to class <type 'method-wrapper'>
x.__cmp__(y) <==> cmp(x,y)

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

BODY.tag.rpartition.__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.

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

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

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

BODY.tag.rpartition.__module__ <type 'NoneType'> belongs to class <type 'NoneType'>

BODY.tag.rpartition.__name__ <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.

BODY.tag.rpartition.__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

BODY.tag.rpartition.__reduce__ <type 'builtin_function_or_method'> belongs to class <type 'builtin_function_or_method'>
helper for pickle

BODY.tag.rpartition.__reduce_ex__ <type 'builtin_function_or_method'> belongs to class <type 'builtin_function_or_method'>
helper for pickle

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

BODY.tag.rpartition.__self__ <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.

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

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