Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ update
Function
update
Lib/idlelib/dynoption.py:48–49 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
46
dyn.pack()
47
48
def
update():
49
dyn.SetMenu([
"new1"
,
"new2"
,
"new3"
,
"new4"
], value=
"new option set"
)
50
button = Button(top, text=
"Change option set"
, command=update)
51
button.pack()
52
Callers
4
__init__
Method · 0.85
test_dict_update
Method · 0.85
test_set_update
Method · 0.85
main
Function · 0.85
Calls
1
SetMenu
Method · 0.80
Tested by
2
test_dict_update
Method · 0.68
test_set_update
Method · 0.68
Used in the wild
real call sites across dependent graphs
searching dependent graphs…