MCPcopy Create free account
hub / github.com/ipython/ipython / s_matches

Method s_matches

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

Source from the content-addressed store, hash-verified

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

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected