Module Import alias Import alias ImportFrom alias ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults vararg body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return BinOpMod Str TupleLoad NameLoad AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Return Call AttributeLoad Call AttributeLoad NameLoad attr attr Str decorator_list decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Str NameLoad Str body Expr Str Return Call NameLoad NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call NameLoad NameLoad TupleLoad AttributeLoad NameLoad attr NameLoad NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Str NameLoad Str body Expr Str If Call NameLoad NameLoad NameLoad body Return NameLoad If BoolOpAnd NameLoad Call NameLoad NameLoad body Return NameLoad TryExcept body If UnaryOpNot Call NameLoad NameLoad NameLoad body If Call NameLoad NameLoad Str body Assign NameStore Call NameLoad NameLoad orelse TryExcept body Assign NameStore Call NameLoad Call NameLoad NameLoad NameLoad NameLoad handlers ExceptHandler type NameLoad body If UnaryOpNot Call NameLoad NameLoad NameLoad body Raise Assign NameStore Call AttributeLoad Str attr ListComp Call NameLoad NameLoad NameLoad NameLoad NameLoad comprehension NameStore NameLoad orelse If UnaryOpNot Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad handlers ExceptHandler type NameLoad name NameStore body If UnaryOpNot Call NameLoad NameLoad NameLoad body Raise Call NameLoad NameLoad AttributeLoad NameLoad attr orelse Assign NameStore Call AttributeLoad Str attr ListComp Call NameLoad NameLoad NameLoad NameLoad NameLoad comprehension NameStore NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Str NameLoad Str body Expr Str If BoolOpAnd NameLoad Call NameLoad NameLoad TupleLoad AttributeLoad NameLoad attr NameLoad body Return NameLoad If UnaryOpNot Call NameLoad NameLoad NameLoad body TryExcept body Return Call NameLoad NameLoad handlers ExceptHandler type NameLoad body If Call NameLoad NameLoad NameLoad body Return Call AttributeLoad Str attr ListComp Call NameLoad NameLoad NameLoad NameLoad NameLoad comprehension NameStore NameLoad Return Call AttributeLoad Call NameLoad NameLoad attr NameLoad NameLoad orelse If Call NameLoad NameLoad NameLoad body Return Call AttributeLoad NameLoad attr NameLoad NameLoad orelse If BoolOpAnd NameLoad CompareNotEq NameLoad Str body Return Call AttributeLoad Call AttributeLoad NameLoad attr Str NameLoad attr NameLoad NameLoad orelse Return NameLoad decorator_list
N/A N/A types N/A datetime decimal Decimal DjangoUnicodeDecodeError N/A UnicodeDecodeError N/A __init__ N/A N/A self obj N/A args N/A N/A N/A self obj obj N/A N/A N/A UnicodeDecodeError __init__ self args N/A __str__ N/A N/A self N/A N/A N/A original N/A N/A UnicodeDecodeError __str__ self N/A N/A %s. You passed in %r (%s) N/A original N/A self obj N/A type N/A self obj N/A N/A StrAndUnicode N/A object N/A N/A 
    A class whose __str__ returns its __unicode__ as a UTF-8 bytestring.

    Useful as a mix-in.
     __str__ N/A N/A self N/A N/A N/A N/A N/A N/A N/A self __unicode__ encode utf-8 N/A N/A smart_unicode N/A N/A s encoding strings_only errors N/A utf-8 False strict N/A N/A 
    Returns a unicode object representing 's'. Treats bytestrings using the
    'encoding' codec.

    If strings_only is True, don't convert (some) non-string-like objects.
     N/A N/A force_unicode s encoding strings_only errors N/A is_protected_type N/A N/A obj N/A N/A N/A Determine if the object instance is of a protected type.

    Objects of protected types are preserved as-is when passed to
    force_unicode(strings_only=True).
     N/A N/A isinstance obj N/A N/A types NoneType int long N/A datetime datetime N/A datetime date N/A datetime time float Decimal N/A force_unicode N/A N/A s encoding strings_only errors N/A utf-8 False strict N/A N/A 
    Similar to smart_unicode, except that lazy instances are resolved to
    strings, rather than kept as lazy objects.

    If strings_only is True, don't convert (some) non-string-like objects.
     N/A N/A isinstance s unicode N/A N/A s N/A N/A strings_only N/A is_protected_type s N/A N/A s N/A N/A N/A N/A N/A isinstance s basestring N/A N/A N/A hasattr s __unicode__ N/A N/A s N/A unicode s N/A N/A N/A N/A s N/A unicode N/A str s encoding errors N/A N/A N/A UnicodeEncodeError N/A N/A N/A N/A isinstance s Exception N/A N/A N/A s N/A N/A join N/A N/A force_unicode arg encoding strings_only errors N/A arg s N/A N/A N/A N/A isinstance s unicode N/A N/A s N/A N/A s decode encoding errors N/A N/A N/A UnicodeDecodeError N/A e N/A N/A N/A N/A isinstance s Exception N/A N/A N/A DjangoUnicodeDecodeError s N/A e args N/A N/A s N/A N/A join N/A N/A force_unicode arg encoding strings_only errors N/A arg s N/A s N/A smart_str N/A N/A s encoding strings_only errors N/A utf-8 False strict N/A N/A 
    Returns a bytestring version of 's', encoded as specified in 'encoding'.

    If strings_only is True, don't convert (some) non-string-like objects.
     N/A N/A strings_only N/A isinstance s N/A N/A types NoneType int N/A N/A s N/A N/A N/A isinstance s basestring N/A N/A N/A N/A N/A str s N/A N/A N/A UnicodeEncodeError N/A N/A N/A isinstance s Exception N/A N/A N/A N/A join N/A N/A smart_str arg encoding strings_only errors N/A arg s N/A N/A N/A N/A unicode s encode encoding errors N/A N/A N/A isinstance s unicode N/A N/A N/A N/A s encode encoding errors N/A N/A N/A s N/A encoding utf-8 N/A N/A N/A N/A N/A N/A s decode utf-8 errors encode encoding errors N/A N/A s N/A