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

Function _test

Lib/tkinter/dialog.py:27–39  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

25
26
27def _test():
28 d = Dialog(None, {'title': 'File Modified',
29 'text':
30 'File "Python.h" has been modified'
31 ' since the last time it was saved.'
32 ' Do you want to save it before'
33 ' exiting the application.',
34 'bitmap': DIALOG_ICON,
35 'default': 0,
36 'strings': ('Save File',
37 'Discard Changes',
38 'Return to Editor')})
39 print(d.num)
40
41
42if __name__ == '__main__':

Callers 4

functionMethod · 0.50
test1Method · 0.50
test2Method · 0.50
test3Method · 0.50

Calls 1

DialogClass · 0.70

Tested by 4

functionMethod · 0.40
test1Method · 0.40
test2Method · 0.40
test3Method · 0.40

Used in the wild real call sites across dependent graphs

searching dependent graphs…