(info_add)
| 443 | |
| 444 | |
| 445 | def collect_tkinter(info_add): |
| 446 | try: |
| 447 | import _tkinter |
| 448 | except ImportError: |
| 449 | pass |
| 450 | else: |
| 451 | attributes = ('TK_VERSION', 'TCL_VERSION') |
| 452 | copy_attributes(info_add, _tkinter, 'tkinter.%s', attributes) |
| 453 | |
| 454 | try: |
| 455 | import tkinter |
| 456 | except ImportError: |
| 457 | pass |
| 458 | else: |
| 459 | tcl = tkinter.Tcl() |
| 460 | patchlevel = tcl.call('info', 'patchlevel') |
| 461 | info_add('tkinter.info_patchlevel', patchlevel) |
| 462 | |
| 463 | |
| 464 | def collect_time(info_add): |
nothing calls this directly
no test coverage detected
searching dependent graphs…