MCPcopy Create free account
hub / github.com/PlatformLab/NanoLog / single_match

Method single_match

preprocessor/docopt.py:204–208  ·  view source on GitHub ↗
(self, left)

Source from the content-addressed store, hash-verified

202 return class_(short, long, argcount, value)
203
204 def single_match(self, left):
205 for n, pattern in enumerate(left):
206 if self.name == pattern.name:
207 return n, pattern
208 return None, None
209
210 @property
211 def name(self):

Callers 1

matchMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected