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

Method flat

preprocessor/docopt.py:109–110  ·  view source on GitHub ↗
(self, *types)

Source from the content-addressed store, hash-verified

107 return '%s(%r, %r)' % (self.__class__.__name__, self.name, self.value)
108
109 def flat(self, *types):
110 return [self] if not types or type(self) in types else []
111
112 def match(self, left, collected=None):
113 collected = [] if collected is None else collected

Callers 3

fix_identitiesMethod · 0.45
flatMethod · 0.45
docoptFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected