Docs for SCRIPT.__module__.encode

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

Description


<type 'builtin_function_or_method'>


1.
2.
3.
4.
5.
6.
7.
8.
S.encode([encoding[,errors]]) -> object

Encodes S using the codec registered for encoding. encoding defaults
to the default encoding. errors may be given to set a different error
handling scheme. Default is 'strict' meaning that encoding errors raise
a UnicodeEncodeError. Other possible values are 'ignore', 'replace' and
'xmlcharrefreplace' as well as any other name registered with
codecs.register_error that is able to handle UnicodeEncodeErrors.


Attributes


SCRIPT.__module__.encode.__call__ <type 'method-wrapper'> belongs to class <type 'method-wrapper'>
x.__call__(...) <==> x(...)

SCRIPT.__module__.encode.__class__ <type 'type'> extends (<type 'object'>,) belongs to class <type 'type'>
<attribute '__doc__' of 'builtin_function_or_method' objects>

SCRIPT.__module__.encode.__cmp__ <type 'method-wrapper'> belongs to class <type 'method-wrapper'>
x.__cmp__(y) <==> cmp(x,y)

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

SCRIPT.__module__.encode.__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.

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

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

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

SCRIPT.__module__.encode.__module__ <type 'NoneType'> belongs to class <type 'NoneType'>

SCRIPT.__module__.encode.__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.

SCRIPT.__module__.encode.__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

SCRIPT.__module__.encode.__reduce__ <type 'builtin_function_or_method'> belongs to class <type 'builtin_function_or_method'>
helper for pickle

SCRIPT.__module__.encode.__reduce_ex__ <type 'builtin_function_or_method'> belongs to class <type 'builtin_function_or_method'>
helper for pickle

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

SCRIPT.__module__.encode.__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.

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

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