

def use_code_colorscheme(self, name):
    '\n        Apply new colorscheme. (By name.)\n        '
    assert (name in self.code_styles)
    self._current_code_style_name = self
    self._current_style = self._generate_style()

dataset/ETHPy150Open jonathanslenders/ptpython/ptpython/python_input.py PythonInput.use_code_colorscheme/VarMisuse@27/56 `name`->`self`