Lines Matching refs:word
100 def _callable_postfix(self, val, word):
102 word += "("
105 word += ")"
109 return word
121 for word in keyword.kwlist + keyword.softkwlist:
122 if word[:n] == text:
123 seen.add(word)
124 if word in {'finally', 'try'}:
125 word = word + ':'
126 elif word not in {'False', 'None', 'True',
129 word = word + ' '
130 matches.append(word)
132 for word, val in nspace.items():
133 if word[:n] == text and word not in seen:
134 seen.add(word)
135 matches.append(self._callable_postfix(val, word))
175 for word in words:
176 if (word[:n] == attr and
177 not (noprefix and word[:n+1] == noprefix)):
178 match = "%s.%s" % (expr, word)
179 if isinstance(getattr(type(thisobject), word, None),
181 # bpo-44752: thisobject.word is a method decorated by
183 # thisobject.word is callable, but know we know that
185 # Also, getattr(thisobject, word) will evaluate the
189 if (value := getattr(thisobject, word, None)) is not None: