Module Expr Str Import alias Import alias Import alias FunctionDef arguments args NameParam defaults body Expr Str If UnaryOpNot NameLoad body Return Str Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr Assign NameStore AttributeLoad NameLoad attr For NameStore SubscriptLoad NameLoad Slice Num body Assign NameStore Call AttributeLoad NameLoad attr If NameLoad body Assign NameStore Call NameLoad NameLoad BinOpSub Call NameLoad NameLoad Call NameLoad NameLoad Assign NameStore ListLoad Call AttributeLoad SubscriptLoad NameLoad Index Num attr If CompareLt NameLoad AttributeLoad NameLoad attr body For NameStore SubscriptLoad NameLoad Slice Num body Expr Call AttributeLoad NameLoad attr Call AttributeLoad SubscriptLoad NameLoad Slice NameLoad attr While BoolOpAnd NameLoad UnaryOpNot SubscriptLoad NameLoad Index Num body Expr Call AttributeLoad NameLoad attr While BoolOpAnd NameLoad UnaryOpNot SubscriptLoad NameLoad Index Num body Expr Call AttributeLoad NameLoad attr Num Return Call AttributeLoad Str attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Str ImportFrom alias If UnaryOpNot NameLoad body Return Num Assign TupleStore NameStore NameStore Call NameLoad Call AttributeLoad NameLoad attr IfExp NameLoad NameLoad Call NameLoad NameLoad If BoolOpAnd CompareIsNot NameLoad NameLoad CompareNotEq NameLoad NameLoad body Assert BoolOpAnd Call NameLoad NameLoad NameLoad CompareEq Call NameLoad NameLoad Num Return Num Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body Expr Str Return Call AttributeLoad NameLoad attr IfExp CompareIsNot NameLoad NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad Call AttributeLoad NameLoad attr NameLoad decorator_list
N/A N/A Defines string-related tools. N/A sys N/A re N/A itertools docstring_trim N/A N/A docstring N/A N/A N/A Trim a docstring, removing redundant tabs. N/A N/A docstring N/A N/A N/A lines N/A N/A N/A N/A docstring expandtabs splitlines N/A indent N/A sys maxint N/A line N/A lines N/A 1 N/A N/A stripped N/A N/A line lstrip N/A stripped N/A N/A indent N/A min indent N/A N/A len line N/A len stripped N/A trimmed N/A N/A N/A N/A lines N/A 0 strip N/A N/A indent N/A sys maxint N/A N/A line N/A lines N/A 1 N/A N/A N/A N/A trimmed append N/A N/A N/A line N/A indent rstrip N/A N/A trimmed N/A N/A trimmed N/A -1 N/A N/A N/A N/A trimmed pop N/A N/A trimmed N/A N/A trimmed N/A 0 N/A N/A N/A N/A trimmed pop 0 N/A N/A N/A join trimmed N/A get_n_identical_edge_characters N/A N/A string character head N/A None True N/A N/A 
    Get the number of identical characters at `string`'s head.
    
    For example, the result for 'qqqwe' would be `3`, while the result for
    'meow' will be `1`.
    
    Specify `character` to only consider that character; if a different
    character is found at the head, `0` will be returned.
    
    Specify `head=False` to search the tail instead of the head.
     python_toolbox cute_iter_tools N/A N/A string N/A N/A 0 N/A N/A found_character character_iterator N/A next N/A N/A itertools groupby N/A head string N/A reversed string N/A N/A N/A character None N/A found_character character N/A N/A N/A N/A isinstance character str N/A N/A len character 1 N/A 0 N/A N/A N/A cute_iter_tools get_length character_iterator N/A rreplace N/A N/A s old new count N/A None N/A N/A 
    Replace instances of `old` in `s` with `new`, starting from the right.
    
    This function is to `str.replace` what `str.rsplit` is to `str.split`.
     N/A N/A N/A new join N/A N/A count None N/A N/A s rsplit old count N/A N/A s rsplit old N/A