mirror of
https://github.com/python/cpython.git
synced 2025-08-01 07:33:08 +00:00
Whitespace normalization, via reindent.py.
This commit is contained in:
parent
e6ddc8b20b
commit
182b5aca27
453 changed files with 31318 additions and 31452 deletions
|
@ -4,14 +4,14 @@ import sys
|
|||
from Tkinter import *
|
||||
|
||||
def main():
|
||||
root = Tk()
|
||||
button = Button(root)
|
||||
button['text'] = 'Hello, world'
|
||||
button['command'] = quit_callback # See below
|
||||
button.pack()
|
||||
root.mainloop()
|
||||
root = Tk()
|
||||
button = Button(root)
|
||||
button['text'] = 'Hello, world'
|
||||
button['command'] = quit_callback # See below
|
||||
button.pack()
|
||||
root.mainloop()
|
||||
|
||||
def quit_callback():
|
||||
sys.exit(0)
|
||||
sys.exit(0)
|
||||
|
||||
main()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue