def toggle_codecompletion(self, checked):
        """Toggle automatic code completion"""
        self.shell.set_codecompletion_auto(checked)
        self.set_option('codecompletion/auto', checked)
def toggle_codecompletion ( self , checked ) : self . shell . set_codecompletion_auto ( checked ) self . set_option ( 'codecompletion/auto' , checked )
Toggle automatic code completion