pypet/pypetlogging.py
def get_strings(args):
    """Returns all valid python strings inside a given argument string."""
    string_list = []
    for elem in ast.walk(ast.parse(args)):
        if isinstance(elem, ast.Str):
            string_list.append(elem.s)
    return string_list
def get_strings(args):
    string_list = []
    for elem in ast.walk(ast.parse(args)):
        if isinstance(elem, ast.Str):
            string_list.append(elem.s)
    return string_list
def get_strings ( args ) : string_list = [ ] for elem in ast . walk ( ast . parse ( args ) ) : if isinstance ( elem , ast . Str ) : string_list . append ( elem . s ) return string_list
Returns all valid python strings inside a given argument string.
Returns all valid python strings inside a given argument string .