OpenQuizz
Une application de gestion des contenus pédagogiques
|
Functions | |
def | fix_tuple_repr (obj) |
def | implements_iterator (cls) |
def | implements_to_string (cls) |
def | native_string_result (func) |
def | implements_bool (cls) |
def | make_literal_wrapper (reference) |
def | normalize_string_tuple (tup) |
def | try_coerce_native (s) |
def | wsgi_decoding_dance (s, charset="utf-8", errors="replace") |
def | wsgi_encoding_dance (s, charset="utf-8", errors="replace") |
def | to_bytes (x, charset=sys.getdefaultencoding(), errors="strict") |
def | to_native (x, charset=sys.getdefaultencoding(), errors="strict") |
def | reraise (tp, value, tb=None) |
def | to_unicode (x, charset=sys.getdefaultencoding(), errors="strict", allow_none_charset=False) |
def | fspath (path) |
def werkzeug._compat.fix_tuple_repr | ( | obj | ) |
def werkzeug._compat.fspath | ( | path | ) |
def werkzeug._compat.implements_bool | ( | cls | ) |
def werkzeug._compat.implements_iterator | ( | cls | ) |
def werkzeug._compat.implements_to_string | ( | cls | ) |
def make_literal_wrapper | ( | reference | ) |
def werkzeug._compat.native_string_result | ( | func | ) |
def normalize_string_tuple | ( | tup | ) |
Normalizes a string tuple to a common type. Following Python 2 rules, upgrades to unicode are implicit.
Ensures that all types in the tuple are either strings or bytes.
def werkzeug._compat.reraise | ( | tp, | |
value, | |||
tb = None |
|||
) |
def to_bytes | ( | x, | |
charset = sys.getdefaultencoding() , |
|||
errors = "strict" |
|||
) |
def to_native | ( | x, | |
charset = sys.getdefaultencoding() , |
|||
errors = "strict" |
|||
) |
def werkzeug._compat.to_unicode | ( | x, | |
charset = sys.getdefaultencoding() , |
|||
errors = "strict" , |
|||
allow_none_charset = False |
|||
) |
def werkzeug._compat.try_coerce_native | ( | s | ) |
Try to coerce a unicode string to native if possible. Otherwise, leave it as unicode.
def wsgi_decoding_dance | ( | s, | |
charset = "utf-8" , |
|||
errors = "replace" |
|||
) |
def wsgi_encoding_dance | ( | s, | |
charset = "utf-8" , |
|||
errors = "replace" |
|||
) |
fix_tuple_repr |
ifilter |
imap |
implements_bool |
implements_iterator |
implements_to_string |
int_to_byte |
integer_types |
iter_bytes |
iteritems |
iterkeys |
iterlists |
iterlistvalues |
itervalues |
izip |
native_string_result |
NativeStringIO |
next |
PY2 |
range_type |
string_types |
text_type |
try_coerce_native |
unichr |
WIN |
wsgi_get_bytes |