bpo-34964: Make Tkinter sources more readable by adding blank lines. (GH-9822)

This commit is contained in:
Serhiy Storchaka 2018-10-12 19:01:00 +03:00 committed by GitHub
parent 2d6097d027
commit dc0d571b64
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 565 additions and 9 deletions

View file

@ -201,7 +201,6 @@ class DndHandler:
source.dnd_end(target, event)
# ----------------------------------------------------------------------
# The rest is here for testing and demonstration purposes only!
@ -265,6 +264,7 @@ class Icon:
def dnd_end(self, target, event):
pass
class Tester:
def __init__(self, root):
@ -299,6 +299,7 @@ class Tester:
x, y = source.where(self.canvas, event)
source.attach(self.canvas, x, y)
def test():
root = tkinter.Tk()
root.geometry("+1+1")
@ -317,5 +318,6 @@ def test():
i3.attach(t3.canvas)
root.mainloop()
if __name__ == '__main__':
test()