Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PlatformLab/NanoLog
/ flat
Method
flat
preprocessor/docopt.py:144–147 ·
view source on GitHub ↗
(self, *types)
Source
from the content-addressed store, hash-verified
142
', '
.join(repr(a)
for
a in self.children))
143
144
def
flat(self, *types):
145
if
type(self) in types:
146
return
[self]
147
return
sum([child.flat(*types)
for
child in self.children], [])
148
149
150
class
Argument(LeafPattern):
Callers
nothing calls this directly
Calls
1
flat
Method · 0.45
Tested by
no test coverage detected