Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)

        def parse_setting(setting):
    options = []
    # Special indent option handling
    if "indent" in setting:
        indent_method = setting["indent"]
        spaces = setting.get("indent-spaces", 4)
        options = special_process_option_indent(options, "indent", indent_method, spaces)
    for option_name, function in g_setting_option_map.items():
        if not option_name in setting:
            continue
        value = setting[option_name]
        options = function(options, option_name, value)
    return options
        


src/s/u/SublimeAStyleFormatter-HEAD/AStyleFormat.py   SublimeAStyleFormatter(Download)
        # Merge syntax_setting with default_setting
        default_setting.update(syntax_setting)
        options = ' '.join(Options.parse_setting(default_setting))
        options_list.insert(1, options)
        return self._join_options(options_list)