Every line of 'python readline eof' code snippets is scanned for vulnerabilities by our powerful machine learning engine that combs millions of open source libraries, ensuring your Python code is secure.
410 def do_EOF(self, line): # It catches Ctrl+D 411 print('^D') 412 return True
61 @staticmethod 62 def do_EOF(dummy): 63 return True
274 def do_EOF(self, argv): 275 print() 276 self.do_exit(argv)
860 def help_EOF(self): 861 print """EOF 862 Handles the receipt of EOF as a command."""
281 def do_EOF(self, arg): 282 """Save changes and exit""" 283 db.close() 284 return True
166 def read_history_file(self, filename=None): 167 '''Load a readline history file. The default filename is ~/.history.''' 168 if filename is None: 169 filename = self.mode._history.history_filename 170 log("read_history_file from %s" % ensure_unicode(filename)) 171 self.mode._history.read_history_file(filename)