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