Commits

Andreas Stührk committed bd8b40c

Show argument names in completion list.

Comments (0)

Files changed (1)

             else:
                 matches = self.completer.matches
 
+        if not e and self.argspec:
+            matches.extend(name + '=' for name in self.argspec[1][0]
+                           if name.startswith(cw))
+
         if e or not matches:
             self.matches = []
             self.matches_iter.update()