mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Issue #27891: Consistently group and sort imports within idlelib modules.
This commit is contained in:
parent
89b1162511
commit
bfbaa6b206
47 changed files with 200 additions and 125 deletions
|
@ -1,12 +1,14 @@
|
|||
"""About Dialog for IDLE
|
||||
|
||||
"""
|
||||
|
||||
import os
|
||||
from sys import version
|
||||
|
||||
from tkinter import *
|
||||
|
||||
from idlelib import textview
|
||||
|
||||
|
||||
class AboutDialog(Toplevel):
|
||||
"""Modal about dialog for idle
|
||||
|
||||
|
@ -144,6 +146,7 @@ class AboutDialog(Toplevel):
|
|||
def Ok(self, event=None):
|
||||
self.destroy()
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
import unittest
|
||||
unittest.main('idlelib.idle_test.test_help_about', verbosity=2, exit=False)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue