Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ dnd_commit
Method
dnd_commit
Lib/tkinter/dnd.py:298–301 ·
view source on GitHub ↗
(self, source, event)
Source
from the content-addressed store, hash-verified
296
self.dndid = None
297
298
def
dnd_commit(self, source, event):
299
self.dnd_leave(source, event)
300
x, y = source.where(self.canvas, event)
301
source.attach(self.canvas, x, y)
302
303
304
def
test():
Callers
1
finish
Method · 0.80
Calls
3
dnd_leave
Method · 0.95
where
Method · 0.80
attach
Method · 0.45
Tested by
no test coverage detected