DebugClients/Python/FlexCompleter.py

changeset 3591
2f2a4a76dd22
parent 3043
71f5c524d427
child 3621
15f23ed3f216
--- a/DebugClients/Python/FlexCompleter.py	Sat May 17 19:58:49 2014 +0200
+++ b/DebugClients/Python/FlexCompleter.py	Sun May 18 14:13:09 2014 +0200
@@ -110,7 +110,7 @@
     """
     def __init__(self, namespace=None):
         """
-        Create a new completer for the command line.
+        Constructor
 
         Completer([namespace]) -> completer instance.
 
@@ -140,7 +140,7 @@
 
     def complete(self, text, state):
         """
-        Return the next possible completion for 'text'.
+        Public method to return the next possible completion for 'text'.
 
         This is called successively with state == 0, 1, 2, ... until it
         returns None.  The completion should begin with 'text'.
@@ -164,7 +164,7 @@
 
     def global_matches(self, text):
         """
-        Compute matches when text is a simple name.
+        Public method to compute matches when text is a simple name.
 
         @param text The text to be completed. (string)
         @return A list of all keywords, built-in functions and names currently
@@ -185,7 +185,7 @@
 
     def attr_matches(self, text):
         """
-        Compute matches when text contains a dot.
+        Public method to compute matches when text contains a dot.
 
         Assuming the text is of the form NAME.NAME....[NAME], and is
         evaluatable in self.namespace, it will be evaluated and its attributes

eric ide

mercurial