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

Function temp_enable_text_widget

Lib/idlelib/sidebar.py:59–64  ·  view source on GitHub ↗
(text)

Source from the content-addressed store, hash-verified

57
58@contextlib.contextmanager
59def temp_enable_text_widget(text):
60 text.configure(state=tk.NORMAL)
61 try:
62 yield
63 finally:
64 text.configure(state=tk.DISABLED)
65
66
67class BaseSideBar:

Callers 2

init_widgetsMethod · 0.85
update_sidebar_textMethod · 0.85

Calls 1

configureMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…