Module ImportFrom alias ImportFrom alias ImportFrom alias Assign NameStore Call NameLoad FunctionDef arguments args NameParam defaults body Expr Str If Call NameLoad NameLoad NameLoad body Return Call AttributeLoad NameLoad attr Str orelse Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str If NameLoad body Assign NameStore NameLoad Assign NameStore Str orelse Assign TupleStore NameStore NameStore Call NameLoad NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Return BinOpAdd NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list
N/A __future__ unicode_literals os.path splitext rotunicode RotUnicode N/A _ROT_UNICODE N/A RotUnicode safe_unicode N/A N/A data N/A N/A N/A  Helper to safely convert <string's> that contain unicode to unicode.
    Otherwise argparse barfs.  N/A N/A isinstance data str N/A N/A N/A N/A data decode utf-8 N/A N/A N/A unicode data N/A ruencode N/A N/A string extension N/A False N/A N/A Encode a string using 'rotunicode' codec.

    :param string:
        The input string to encode.
    :type string:
        `basestring`

    :param extension:
        True if the entire input string should be encoded.
        False to split the input string using :func:`os.path.splitext` and
        encode only the file name portion keeping the extension as is.
    :type extension:
        `bool`

    :return:
        Encoded string.
    :rtype:
        `unicode`
     N/A extension N/A N/A file_name string N/A file_ext N/A N/A N/A file_name file_ext N/A splitext string N/A N/A encoded_value _ N/A N/A _ROT_UNICODE encode file_name N/A N/A encoded_value file_ext N/A rudecode N/A N/A string N/A N/A N/A Decode a string using 'rotunicode' codec.

    :param string:
        The input string to decode.
    :type string:
        `basestring`

    :return:
        Decoded string.
    :rtype:
        `unicode`
     N/A N/A decoded_value _ N/A N/A _ROT_UNICODE decode string N/A decoded_value N/A