mirror of
https://github.com/python/cpython.git
synced 2025-07-24 03:35:53 +00:00
Whitespace Normalization
This commit is contained in:
parent
9532298c82
commit
6655e4bc27
23 changed files with 306 additions and 322 deletions
|
@ -146,10 +146,3 @@ class OnDemandOutputWindow:
|
|||
|
||||
# def flush(self):
|
||||
# pass
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -377,4 +377,3 @@ def restart_subprocess_debugger(rpcclt):
|
|||
idb_adap_oid_ret = rpcclt.remotecall("exec", "start_the_debugger",\
|
||||
(gui_adap_oid,), {})
|
||||
assert idb_adap_oid_ret == idb_adap_oid, 'Idb restarted with different oid'
|
||||
|
||||
|
|
|
@ -7,4 +7,3 @@ except NameError:
|
|||
__builtin__.False = 0
|
||||
from operator import truth
|
||||
__builtin__.bool = truth
|
||||
|
||||
|
|
|
@ -368,7 +368,7 @@ class IdleConf:
|
|||
kbNameIndicies=[]
|
||||
for name in names:
|
||||
if name.endswith('_bindings') or name.endswith('_cfgBindings'):
|
||||
kbNameIndicies.append(names.index(name))
|
||||
kbNameIndicies.append(names.index(name))
|
||||
kbNameIndicies.sort()
|
||||
kbNameIndicies.reverse()
|
||||
for index in kbNameIndicies: #delete each keybinding section name
|
||||
|
|
|
@ -117,5 +117,3 @@ if __name__ == '__main__':
|
|||
print dlg.result
|
||||
Button(root,text='Dialog',command=run).pack()
|
||||
root.mainloop()
|
||||
|
||||
|
||||
|
|
|
@ -95,5 +95,3 @@ if __name__ == '__main__':
|
|||
print dlg.result
|
||||
Button(root,text='Dialog',command=run).pack()
|
||||
root.mainloop()
|
||||
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@ except NameError:
|
|||
__file__ = sys.argv[0]
|
||||
idlelib = join(split(__file__)[0], 'idlelib')
|
||||
if isdir(idlelib):
|
||||
sys.path.append(idlelib)
|
||||
sys.path.append(idlelib)
|
||||
|
||||
# see if we are being asked to execute the subprocess code
|
||||
if '-p' in sys.argv:
|
||||
|
|
|
@ -465,7 +465,7 @@ def _getattributes(obj, attributes):
|
|||
for name in dir(obj):
|
||||
attr = getattr(obj, name)
|
||||
if not callable(attr):
|
||||
attributes[name] = 1
|
||||
attributes[name] = 1
|
||||
|
||||
class MethodProxy:
|
||||
|
||||
|
@ -551,5 +551,3 @@ def test():
|
|||
|
||||
if __name__ == '__main__':
|
||||
test()
|
||||
|
||||
|
||||
|
|
|
@ -111,4 +111,3 @@ if __name__ == '__main__':
|
|||
entryPgName.pack(padx=5)
|
||||
tabPage.ChangePage()
|
||||
root.mainloop()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue