def tabComplete(self, word):
"""InputOutputWindow calls me when tab is pressed."""
if not word:
return []
potentialMatches = []
for nick in self.members:
if string.lower(nick[:len(word)]) == string.lower(word):
potentialMatches.append(nick + ": ") #colon is a nick-specific thing
return potentialMatches
# Internal
评论列表
文章目录