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

Function get_tk_patchlevel

Lib/test/test_tkinter/support.py:110–114  ·  view source on GitHub ↗
(root)

Source from the content-addressed store, hash-verified

108
109_tk_patchlevel = None
110def get_tk_patchlevel(root):
111 global _tk_patchlevel
112 if _tk_patchlevel is None:
113 _tk_patchlevel = tkinter._parse_version(root.tk.globalgetvar('tk_patchLevel'))
114 return _tk_patchlevel
115
116units = {
117 'c': 72 / 2.54, # centimeters

Callers 15

setUpMethod · 0.90
setUpMethod · 0.90
test_configure_heightMethod · 0.90
test_configure_widthMethod · 0.90
test_configure_valuesMethod · 0.90
setUpMethod · 0.90
test_configure_tabsMethod · 0.90
setUpMethod · 0.90
test_itemconfigureMethod · 0.90
test_configure_fromMethod · 0.90
test_wm_iconbitmapMethod · 0.90
test_map_custom_copyMethod · 0.90

Calls

no outgoing calls

Tested by 15

setUpMethod · 0.72
setUpMethod · 0.72
test_configure_heightMethod · 0.72
test_configure_widthMethod · 0.72
test_configure_valuesMethod · 0.72
setUpMethod · 0.72
test_configure_tabsMethod · 0.72
setUpMethod · 0.72
test_itemconfigureMethod · 0.72
test_configure_fromMethod · 0.72
test_wm_iconbitmapMethod · 0.72
test_map_custom_copyMethod · 0.72

Used in the wild real call sites across dependent graphs

searching dependent graphs…