MCPcopy Create free account
hub / github.com/aws/aws-cli / __init__

Method __init__

awscli/bcdoc/restdoc.py:24–33  ·  view source on GitHub ↗
(self, target='man')

Source from the content-addressed store, hash-verified

22
23class ReSTDocument:
24 def __init__(self, target='man'):
25 self.style = ReSTStyle(self)
26 self.target = target
27 self.parser = DocStringParser(self)
28 self.keep_data = True
29 self.do_translation = False
30 self.translation_map = {}
31 self.hrefs = {}
32 self._writes = []
33 self._last_doc_string = None
34
35 def _write(self, s):
36 if self.keep_data and s is not None:

Callers 1

__init__Method · 0.45

Calls 2

ReSTStyleClass · 0.90
DocStringParserClass · 0.90

Tested by

no test coverage detected