MCPcopy Index your code
hub / github.com/python/cpython / set_notabs_indentwidth

Method set_notabs_indentwidth

Lib/idlelib/editor.py:904–909  ·  view source on GitHub ↗

Update the indentwidth if changed and not using tabs in this window

(self)

Source from the content-addressed store, hash-verified

902 menu.entryconfig(index, accelerator=accel)
903
904 def set_notabs_indentwidth(self):
905 "Update the indentwidth if changed and not using tabs in this window"
906 # Called from configdialog.py
907 if not self.usetabs:
908 self.indentwidth = idleConf.GetOption('main', 'Indent','num-spaces',
909 type='int')
910
911 def reset_help_menu_entries(self):
912 """Update the additional help entries on the Help menu."""

Callers 2

__init__Method · 0.95

Calls 1

GetOptionMethod · 0.80

Tested by

no test coverage detected