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

Method __init__

preprocessor/docopt.py:182–185  ·  view source on GitHub ↗
(self, short=None, long=None, argcount=0, value=False)

Source from the content-addressed store, hash-verified

180class Option(LeafPattern):
181
182 def __init__(self, short=None, long=None, argcount=0, value=False):
183 assert argcount in (0, 1)
184 self.short, self.long, self.argcount = short, long, argcount
185 self.value = None if value is False and argcount else value
186
187 @classmethod
188 def parse(class_, option_description):

Callers 1

__init__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected