(self, text, line, begidx, endidx)
| 1224 | return [n for n in ns.keys() if n.startswith(text)] |
| 1225 | |
| 1226 | def _complete_indentation(self, text, line, begidx, endidx): |
| 1227 | try: |
| 1228 | import readline |
| 1229 | except ImportError: |
| 1230 | return [] |
| 1231 | # Fill in spaces to form a 4-space indent |
| 1232 | return [' ' * (4 - readline.get_begidx() % 4)] |
| 1233 | |
| 1234 | def complete_multiline_names(self, text, line, begidx, endidx): |
| 1235 | # If text is space-only, the user entered <tab> before any text. |
no test coverage detected