mirror of
https://github.com/python/cpython.git
synced 2025-07-29 22:24:49 +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,12 +4,12 @@ import W
|
|||
|
||||
# key callback function
|
||||
def tester(char, event):
|
||||
text = "%r\r%d\r%s\r%s" % (char, ord(char), hex(ord(chart)), oct(ord(char)))
|
||||
window.keys.set(text)
|
||||
text = "%r\r%d\r%s\r%s" % (char, ord(char), hex(ord(chart)), oct(ord(char)))
|
||||
window.keys.set(text)
|
||||
|
||||
# close callback
|
||||
def close():
|
||||
window.close()
|
||||
window.close()
|
||||
|
||||
# new window
|
||||
window = W.Dialog((180, 100), "Type a character")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue