Module ImportFrom alias Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias ImportFrom alias alias ImportFrom alias ImportFrom alias alias identifier alias If AttributeLoad NameLoad attr body ImportFrom alias FunctionDef arguments args NameParam defaults body Return BoolOpAnd NameLoad BinOpAdd Call AttributeLoad SubscriptLoad Call NameLoad NameLoad Index Num attr SubscriptLoad Call NameLoad NameLoad Slice Num decorator_list Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str BinOpBitOr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str BinOpBitOr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad FunctionDef arguments args defaults body For NameStore Call AttributeLoad NameLoad attr NameLoad body Assign NameStore Call NameLoad BoolOpOr BoolOpAnd Call AttributeLoad NameLoad attr Str BinOpAdd NameLoad Num NameLoad NameLoad While CompareGt Call NameLoad NameLoad NameLoad body Assign NameStore BinOpAdd Call AttributeLoad SubscriptLoad NameLoad Slice BinOpAdd NameLoad Num attr Str Num If CompareEq NameLoad Num body Assign NameStore BinOpAdd Call AttributeLoad NameLoad attr Str Num If CompareEq NameLoad Num body Expr Yield NameLoad Assign NameStore Str Break Expr Yield BinOpMod Str SubscriptLoad NameLoad Slice BinOpSub NameLoad Num Assign NameStore SubscriptLoad NameLoad Slice NameLoad Assign NameStore Call NameLoad BoolOpOr BoolOpAnd Call AttributeLoad NameLoad attr Str BinOpAdd NameLoad Num NameLoad NameLoad If NameLoad body Expr Yield NameLoad decorator_list Return Call AttributeLoad Str attr Call NameLoad decorator_list NameLoad ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Lambda arguments args defaults Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body If CompareIs NameLoad NameLoad body Assign NameStore Call NameLoad Str Str Assign NameStore Call NameLoad NameLoad If CompareIn Str NameLoad body Return BinOpMod NameLoad Dict Str NameLoad If Call AttributeLoad NameLoad attr NameLoad body Return NameLoad Return BinOpMod Str TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Str Expr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Assign NameStore NameLoad For NameStore Call AttributeLoad NameLoad attr Str NameLoad body If UnaryOpNot Call AttributeLoad NameLoad attr NameLoad body AugAssignSub NameStore Num If CompareEq NameLoad Num body Break If NameLoad body Return Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad NameLoad Return Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore Num Assign NameStore NameLoad For TupleStore NameStore NameStore Call NameLoad NameLoad body If Call AttributeLoad NameLoad attr NameLoad body Continue AugAssignAdd NameStore Num If BoolOpAnd CompareIs NameLoad NameLoad CompareGt NameLoad NameLoad body Assign NameStore NameLoad If CompareGt NameLoad NameLoad body Return Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Slice BoolOpOr NameLoad Num NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Str Expr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad If NameLoad body Return Call AttributeLoad NameLoad attr NameLoad NameLoad AttributeLoad NameLoad attr NameLoad NameLoad Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr If CompareGt Call NameLoad NameLoad NameLoad body Assign NameStore SubscriptLoad NameLoad Slice NameLoad Return Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad NameLoad Return Call AttributeLoad Str attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults body Expr Str If BoolOpAnd NameLoad CompareLtE NameLoad Num body Return Str Assign NameStore TupleLoad Str Str Str Str Str Str Str Str Str Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore ListLoad Assign NameStore IfExp NameLoad NameLoad NameLoad While CompareLtE NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad If UnaryOpNot NameLoad body Break Assign NameStore Call AttributeLoad NameLoad attr Num If Call AttributeLoad NameLoad attr Num body AugAssignAdd NameStore Num If CompareEq NameLoad NameLoad body Assign NameStore NameLoad Continue Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num If BoolOpOr UnaryOpNot NameLoad CompareGtE NameLoad NameLoad body Continue Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr If BoolOpOr NameLoad CompareIn NameLoad NameLoad body Pass orelse If NameLoad body TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad body Pass orelse Assign NameStore SubscriptLoad NameLoad Slice BinOpAdd NameLoad Num orelse Expr Call AttributeLoad NameLoad attr Num NameLoad If CompareLtE NameLoad NameLoad body Return NameLoad Assign NameStore SubscriptLoad NameLoad Slice NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad If NameLoad body AugAssignAdd NameStore NameLoad For NameStore NameLoad body AugAssignAdd NameStore BinOpMod Str NameLoad Return NameLoad decorator_list decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad Call AttributeLoad Call NameLoad NameLoad attr attr Str Str Return Call AttributeLoad NameLoad attr Str Str NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults Call NameLoad Str body Expr Str If CompareEq Call NameLoad NameLoad Num body Return Str If CompareEq Call NameLoad NameLoad Num body Return Call NameLoad SubscriptLoad NameLoad Index Num Return BinOpMod Str TupleLoad Call AttributeLoad Call NameLoad Str attr GeneratorExp Call NameLoad NameLoad comprehension NameStore SubscriptLoad NameLoad Slice Num Call NameLoad NameLoad Call NameLoad SubscriptLoad NameLoad Index Num decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad Return Call AttributeLoad NameLoad attr Str NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Dict Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Return Call AttributeLoad Str attr GeneratorExp Call AttributeLoad NameLoad attr NameLoad NameLoad comprehension NameStore Call AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign NameStore Call NameLoad keyword Str keyword Num keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr ListLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body If UnaryOpNot AttributeLoad NameLoad attr body Return Str Assign NameStore Call AttributeLoad Str attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr ListLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return decorator_list FunctionDef arguments args NameParam defaults body Return decorator_list decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign NameStore Call NameLoad keyword Str keyword Num keyword NameLoad Expr Yield Call AttributeLoad NameLoad attr For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr If NameLoad body Expr Yield NameLoad Expr Call AttributeLoad NameLoad attr Expr Yield Call AttributeLoad NameLoad attr decorator_list Assign NameStore Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad For NameStore Call AttributeLoad NameLoad attr NameLoad body Expr Yield Call AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Num If CompareEq SubscriptLoad NameLoad Index Num Str body Assign NameStore SubscriptLoad NameLoad Slice Num TryExcept body If CompareIn SubscriptLoad NameLoad Index Num Str body Assign NameStore Call NameLoad SubscriptLoad NameLoad Slice Num Num orelse Assign NameStore Call NameLoad NameLoad Return Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad body Return Call AttributeLoad NameLoad attr Num orelse TryExcept body Return Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index NameLoad handlers ExceptHandler type TupleLoad NameLoad NameLoad body Return Call AttributeLoad NameLoad attr Num decorator_list Assign NameStore Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr NameLoad Call NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str If BoolOpOr CompareNotIn SubscriptLoad NameLoad Index Num Str CompareNotEq SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num body Raise Call NameLoad BinOpMod Str NameLoad Assign NameStore SubscriptLoad NameLoad Index Num Return Call AttributeLoad Call AttributeLoad SubscriptLoad NameLoad Slice Num Num attr BinOpMod Str NameLoad NameLoad attr Str Str decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Assign NameStore Call NameLoad NameLoad If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr Str Str NameLoad keyword AttributeLoad NameLoad attr attr attr Return Call NameLoad Call AttributeLoad NameLoad attr Str Str NameLoad keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr Str NameLoad attr Str Str attr Str Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr Str Str NameLoad attr attr Return Call NameLoad Call AttributeLoad NameLoad attr Str Str NameLoad decorator_list Call NameLoad AttributeLoad NameLoad attr NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr Str NameLoad attr attr decorator_list
N/A __future__ unicode_literals N/A re N/A unicodedata gzip GzipFile io BytesIO django.utils six django.utils.encoding force_text django.utils.functional SimpleLazyObject keep_lazy keep_lazy_text django.utils.safestring SafeText mark_safe django.utils.six.moves html_entities django.utils.translation pgettext ugettext _ ugettext_lazy N/A N/A six PY2 N/A django.utils.encoding force_unicode capfirst N/A N/A x N/A N/A N/A N/A x N/A N/A N/A N/A N/A force_text x N/A 0 upper N/A N/A force_text x N/A 1 N/A N/A capfirst N/A keep_lazy_text capfirst N/A re_words N/A N/A re compile <.*?>|((?:\w[-\w]*|&.*?;)+) N/A N/A re U N/A re S N/A re_chars N/A N/A re compile <.*?>|(.) N/A N/A re U N/A re S N/A re_tag N/A N/A re compile <(/)?([^ ]+?)(?:(\s*/)| .*?)?> N/A re S N/A re_newlines N/A N/A re compile \r\n|\r N/A re_camel_case N/A N/A re compile (((?<=[a-z])[A-Z])|([A-Z](?![A-Z]|$))) wrap N/A N/A text width N/A N/A N/A 
    A word-wrap function that preserves existing line breaks. Expects that
    existing line breaks are posix newlines.

    All white space is preserved except added line breaks consume the space on
    which they break the line.

    Long words are not wrapped, so the output text may have lines longer than
    ``width``.
     N/A text N/A force_text text _generator N/A N/A N/A N/A N/A line N/A N/A text splitlines True N/A N/A max_width N/A min N/A N/A N/A N/A line endswith N/A width 1 width width N/A N/A N/A len line max_width N/A N/A space N/A N/A N/A N/A line N/A N/A max_width 1 rfind 1 N/A N/A space 0 N/A N/A space N/A N/A N/A line find 1 N/A N/A space 0 N/A N/A N/A line N/A line N/A N/A N/A N/A %s
 N/A line N/A N/A space 1 N/A line N/A line N/A space N/A max_width N/A min N/A N/A N/A N/A line endswith N/A width 1 width width N/A line N/A N/A N/A line N/A N/A N/A N/A join N/A _generator N/A keep_lazy_text Truncator N/A SimpleLazyObject N/A N/A 
    An object used to truncate text, either by characters or words.
     __init__ N/A N/A self text N/A N/A N/A N/A N/A N/A super Truncator self __init__ N/A N/A N/A N/A N/A force_text text N/A add_truncation_text N/A N/A self text truncate N/A None N/A N/A N/A truncate None N/A N/A truncate N/A pgettext String to return when truncating text %(truncated_text)s... N/A truncate N/A force_text truncate N/A N/A %(truncated_text)s truncate N/A N/A N/A truncate N/A truncated_text text N/A N/A N/A text endswith truncate N/A N/A text N/A N/A %s%s N/A text truncate N/A chars N/A N/A self num truncate html N/A None False N/A N/A 
        Returns the text truncated to be no longer than the specified number
        of characters.

        Takes an optional argument of what should be used to notify that the
        string has been truncated, defaulting to a translatable string of an
        ellipsis (...).
         N/A N/A N/A self _setup N/A length N/A int num N/A text N/A N/A unicodedata normalize NFC N/A self _wrapped N/A truncate_len length N/A char N/A N/A self add_truncation_text truncate N/A N/A N/A N/A N/A unicodedata combining char N/A N/A truncate_len 1 N/A N/A truncate_len 0 N/A N/A N/A html N/A N/A N/A N/A self _truncate_html length truncate text truncate_len False N/A N/A N/A self _text_chars length truncate text truncate_len N/A _text_chars N/A N/A self length truncate text truncate_len N/A N/A N/A 
        Truncates a string after a certain number of chars.
         N/A s_len 0 N/A end_index None N/A N/A i char N/A enumerate text N/A N/A N/A N/A unicodedata combining char N/A N/A N/A s_len 1 N/A N/A N/A end_index None N/A s_len truncate_len N/A N/A end_index i N/A N/A s_len length N/A N/A N/A N/A self add_truncation_text N/A text N/A N/A end_index 0 truncate N/A text N/A words N/A N/A self num truncate html N/A None False N/A N/A 
        Truncates a string after a certain number of words. Takes an optional
        argument of what should be used to notify that the string has been
        truncated, defaulting to ellipsis (...).
         N/A N/A N/A self _setup N/A length N/A int num N/A html N/A N/A N/A N/A self _truncate_html length truncate N/A self _wrapped length True N/A N/A N/A self _text_words length truncate N/A _text_words N/A N/A self length truncate N/A N/A N/A 
        Truncates a string after a certain number of words.

        Newlines in the string will be stripped.
         N/A words N/A N/A N/A self _wrapped split N/A N/A N/A len words length N/A N/A words N/A words N/A length N/A N/A N/A self add_truncation_text N/A N/A join words truncate N/A N/A N/A join words N/A _truncate_html N/A N/A self length truncate text truncate_len words N/A N/A N/A 
        Truncates HTML to a certain number of chars (not counting tags and
        comments), or, if words is True, then to a certain number of words.
        Closes opened tags if they were correctly closed in the given HTML.

        Newlines in the HTML are preserved.
         N/A N/A words N/A length 0 N/A N/A N/A html4_singlets N/A br col link base img param area hr input N/A pos 0 N/A end_text_pos 0 N/A current_len 0 N/A open_tags N/A N/A regex N/A words re_words re_chars N/A N/A current_len length N/A N/A m N/A N/A regex search text pos N/A N/A m N/A N/A N/A pos N/A N/A m end 0 N/A N/A N/A m group 1 N/A N/A current_len 1 N/A N/A current_len truncate_len N/A N/A end_text_pos pos N/A N/A tag N/A N/A re_tag match N/A N/A m group 0 N/A N/A N/A tag N/A current_len truncate_len N/A N/A N/A N/A closing_tag tagname self_closing N/A N/A tag groups N/A tagname N/A N/A tagname lower N/A N/A self_closing N/A tagname html4_singlets N/A N/A N/A N/A closing_tag N/A N/A N/A N/A i N/A N/A open_tags index tagname N/A N/A N/A ValueError N/A N/A N/A N/A open_tags N/A open_tags N/A N/A i 1 N/A N/A N/A N/A open_tags insert 0 tagname N/A N/A current_len length N/A N/A text N/A out N/A text N/A end_text_pos N/A truncate_text N/A N/A self add_truncation_text truncate N/A truncate_text N/A N/A out truncate_text N/A tag open_tags N/A N/A out N/A </%s> tag N/A out N/A N/A get_valid_filename N/A N/A s N/A N/A N/A 
    Returns the given string converted to a string that can be used for a clean
    filename. Specifically, leading and trailing spaces are removed; other
    spaces are converted to underscores; and anything that is not a unicode
    alphanumeric, dash, underscore, or dot, is removed.
    >>> get_valid_filename("john's portrait in 2004.jpg")
    'johns_portrait_in_2004.jpg'
     N/A s N/A N/A N/A N/A N/A force_text s strip replace _ N/A N/A N/A re sub (?u)[^-\w.] s N/A keep_lazy_text get_text_list N/A N/A list_ last_word N/A N/A ugettext_lazy or N/A N/A 
    >>> get_text_list(['a', 'b', 'c', 'd'])
    'a, b, c or d'
    >>> get_text_list(['a', 'b', 'c'], 'and')
    'a, b and c'
    >>> get_text_list(['a', 'b'], 'and')
    'a and b'
    >>> get_text_list(['a'])
    'a'
    >>> get_text_list([])
    ''
     N/A N/A N/A len list_ 0 N/A N/A N/A N/A N/A len list_ 1 N/A N/A N/A force_text N/A list_ N/A 0 N/A N/A %s %s %s N/A N/A N/A N/A _ ,  join N/A N/A force_text i N/A i N/A list_ N/A -1 N/A force_text last_word N/A force_text N/A list_ N/A -1 N/A keep_lazy_text normalize_newlines N/A N/A text N/A N/A N/A Normalizes CRLF and CR newlines to just LF. N/A text N/A force_text text N/A N/A N/A re_newlines sub text N/A keep_lazy_text phone2numeric N/A N/A phone N/A N/A N/A Converts a phone number with letters into its numeric equivalent. N/A char2number N/A a b c d e f g h i j k l m n o p q r s t u v w x y z 2 2 2 3 3 3 4 4 4 5 5 5 6 6 6 7 7 7 7 8 8 8 9 9 9 9 N/A N/A N/A join N/A N/A N/A char2number get c c N/A c N/A N/A phone lower N/A keep_lazy_text compress_string N/A N/A s N/A N/A N/A zbuf N/A BytesIO N/A zfile N/A GzipFile mode wb compresslevel 6 fileobj zbuf N/A N/A N/A zfile write s N/A N/A N/A zfile close N/A N/A N/A zbuf getvalue N/A StreamingBuffer N/A object N/A __init__ N/A N/A self N/A N/A N/A N/A self vals N/A N/A write N/A N/A self val N/A N/A N/A N/A N/A N/A self vals append val N/A read N/A N/A self N/A N/A N/A N/A N/A self vals N/A N/A N/A ret N/A N/A join N/A self vals N/A N/A self vals N/A N/A ret N/A flush N/A N/A self N/A N/A N/A N/A close N/A N/A self N/A N/A N/A N/A N/A compress_sequence N/A N/A sequence N/A N/A N/A buf N/A StreamingBuffer N/A zfile N/A GzipFile mode wb compresslevel 6 fileobj buf N/A N/A N/A N/A buf read N/A item sequence N/A N/A N/A N/A zfile write item N/A data N/A N/A buf read N/A data N/A N/A N/A data N/A N/A N/A zfile close N/A N/A N/A N/A buf read N/A N/A smart_split_re N/A N/A re compile 
    ((?:
        [^\s'"]*
        (?:
            (?:"(?:[^"\\]|\\.)*" | '(?:[^'\\]|\\.)*')
            [^\s'"]*
        )+
    ) | \S+)
 N/A re VERBOSE smart_split N/A N/A text N/A N/A N/A 
    Generator that splits a string by spaces, leaving quoted phrases together.
    Supports both single and double quotes, and supports escaping quotes with
    backslashes. In the output, strings will keep their initial and trailing
    quote marks and escaped quotes will remain escaped (the results can then
    be further processed with unescape_string_literal()).

    >>> list(smart_split(r'This is "a person\'s" test.'))
    ['This', 'is', '"a person\\\'s"', 'test.']
    >>> list(smart_split(r"Another 'person\'s' test."))
    ['Another', "'person\\'s'", 'test.']
    >>> list(smart_split(r'A "\"funky\" style" test.'))
    ['A', '"\\"funky\\" style"', 'test.']
     N/A text N/A force_text text N/A bit N/A N/A smart_split_re finditer text N/A N/A N/A N/A N/A bit group 0 N/A _replace_entity N/A N/A match N/A N/A N/A text N/A N/A match group 1 N/A N/A N/A text N/A 0 # N/A N/A text N/A text N/A 1 N/A N/A N/A N/A N/A text N/A 0 xX N/A N/A c N/A int N/A text N/A 1 16 N/A N/A c N/A int text N/A N/A N/A six unichr c N/A N/A N/A ValueError N/A N/A N/A N/A match group 0 N/A N/A N/A N/A N/A N/A six unichr N/A N/A html_entities name2codepoint N/A text N/A N/A N/A N/A ValueError KeyError N/A N/A N/A N/A match group 0 N/A N/A _entity_re N/A N/A re compile &(#?[xX]?(?:[0-9a-fA-F]+|\w{1,8})); unescape_entities N/A N/A text N/A N/A N/A N/A N/A _entity_re sub _replace_entity N/A force_text text N/A keep_lazy_text unescape_string_literal N/A N/A s N/A N/A N/A 
    Convert quoted string literals to unquoted strings with escaped quotes and
    backslashes unquoted::

        >>> unescape_string_literal('"abc"')
        'abc'
        >>> unescape_string_literal("'abc'")
        'abc'
        >>> unescape_string_literal('"a \"bc\""')
        'a "bc"'
        >>> unescape_string_literal("'\'ab\' c'")
        "'ab' c"
     N/A N/A N/A N/A s N/A 0 "' N/A N/A s N/A -1 N/A s N/A 0 N/A N/A N/A ValueError N/A Not a string literal: %r s N/A quote N/A s N/A 0 N/A N/A N/A N/A N/A N/A s N/A 1 -1 replace N/A \%s quote quote replace \\ \ N/A keep_lazy_text slugify N/A N/A value allow_unicode N/A False N/A N/A 
    Convert to ASCII if 'allow_unicode' is False. Convert spaces to hyphens.
    Remove characters that aren't alphanumerics, underscores, or hyphens.
    Convert to lowercase. Also strip leading and trailing whitespace.
     N/A value N/A force_text value N/A allow_unicode N/A N/A value N/A N/A unicodedata normalize NFKC value N/A value N/A N/A N/A N/A N/A N/A re sub [^\w\s-] value flags N/A re U strip lower N/A N/A mark_safe N/A N/A re sub [-\s]+ - value flags N/A re U N/A value N/A N/A N/A N/A N/A N/A unicodedata normalize NFKD value encode ascii ignore decode ascii N/A value N/A N/A N/A N/A N/A N/A re sub [^\w\s-] value strip lower N/A N/A mark_safe N/A N/A re sub [-\s]+ - value N/A N/A keep_lazy N/A six text_type SafeText camel_case_to_spaces N/A N/A value N/A N/A N/A 
    Splits CamelCase and converts to lower case. Also strips leading and
    trailing whitespace.
     N/A N/A N/A N/A N/A N/A N/A re_camel_case sub  \1 value strip lower N/A