for s in self.options
if s and s.startswith(text)]
else:
- self.matches = self.options[:]
+ self.matches = self.options
try:
response = self.matches[state]
if 'libedit' in readline.__doc__:
readline.parse_and_bind("bind ^I rl_complete")
else:
- readline.parse_and_bind("tab: complete")
\ No newline at end of file
+ readline.parse_and_bind("tab: complete")
+