Set the autoindent flag. If called with no arguments, it acts as a toggle.
(self,value=None)
| 714 | ensure_dir_exists(change['new']) |
| 715 | |
| 716 | def set_autoindent(self,value=None): |
| 717 | """Set the autoindent flag. |
| 718 | |
| 719 | If called with no arguments, it acts as a toggle.""" |
| 720 | if value is None: |
| 721 | self.autoindent = not self.autoindent |
| 722 | else: |
| 723 | self.autoindent = value |
| 724 | |
| 725 | def set_trio_runner(self, tr): |
| 726 | self.trio_runner = tr |