Lines Matching defs:if
30 import tkinter # Use tcl and, if startup fails, messagebox.
31 if not hasattr(sys.modules['idlelib.run'], 'firstrun'):
38 # Avoid AttributeError if run again; see bpo-37038.
56 if line is None:
59 if line:
70 if file is None:
84 if capture:
85 if _warnings_showwarning is None:
89 if _warnings_showwarning is not None:
97 """Process any tk events that are ready to be dispatched if tkinter
150 if exit_now:
162 if request:
169 if quitting:
225 if typ in (AttributeError, NameError):
248 if cause is not None and id(cause) not in seen:
258 if tb:
276 if tb[0][0].count(rpcfile):
283 if tb[-1][0].count(rpcfile):
288 if len(tb) == 0:
295 if nm == '?':
297 if not line and fn.startswith("<pyshell#"):
313 if no_exitfunc:
324 if scaling > 1.4:
328 if size < 0:
333 tem = (fun.__doc__ + '\n\n') if fun.__doc__ is not None else ''
345 if kwargs:
353 if not limit > 0:
384 if (
398 Interrupt the MainThread and exit server if link is dropped.
463 if self.closed:
476 if self.closed:
478 if size is None:
484 if size < 0:
490 if not line: break
497 if self.closed:
499 if size is None:
504 if size < 0:
507 if eol >= 0:
535 # Keep a reference to stdin so that it won't try to exit IDLE if
565 if idlelib.testing is False:
582 if e.args: # SystemExit called with an argument.
584 if not isinstance(ob, (type(None), int)):
589 if quitting:
591 if sys.excepthook is sys.__excepthook__:
600 if jit:
606 if interruptable:
623 if self.user_exc_info:
628 if flist_oid is not None:
638 if __name__ == '__main__':