MCPcopy Index your code
hub / github.com/ipython/ipython / s_matches

Method s_matches

IPython/utils/strdispatch.py:58–62  ·  view source on GitHub ↗
(self, key)

Source from the content-addressed store, hash-verified

56 return "<Strdispatch %s, %s>" % (self.strs, self.regexs)
57
58 def s_matches(self, key):
59 if key not in self.strs:
60 return
61 for el in self.strs[key]:
62 yield el[1]
63
64 def flat_matches(self, key):
65 """ Yield all 'value' targets, without priority """

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected