(root)/
Python-3.12.0/
Lib/
idlelib/
util.py
       1  """
       2  Idlelib objects with no external idlelib dependencies
       3  which are needed in more than one idlelib module.
       4  
       5  They are included here because
       6      a) they don't particularly belong elsewhere; or
       7      b) because inclusion here simplifies the idlelib dependency graph.
       8  
       9  TODO:
      10      * Python versions (editor and help_about),
      11      * tk version and patchlevel (pyshell, help_about, maxos?, editor?),
      12      * std streams (pyshell, run),
      13      * warning stuff (pyshell, run).
      14  """
      15  
      16  # .pyw is for Windows; .pyi is for stub files.
      17  py_extensions = ('.py', '.pyw', '.pyi')  # Order needed for open/save dialogs.
      18  
      19  if __name__ == '__main__':
      20      from unittest import main
      21      main('idlelib.idle_test.test_util', verbosity=2)