(self, section, start, end)
| 165 | section.write(end) |
| 166 | |
| 167 | def _end_structure(self, section, start, end): |
| 168 | # If there are no members in the strucuture, then make sure the |
| 169 | # start and the end bracket are on the same line, by removing all |
| 170 | # previous text and writing the start and end. |
| 171 | if not section.available_sections: |
| 172 | section.clear_text() |
| 173 | section.write(start + end) |
| 174 | self._end_nested_param(section) |
| 175 | else: |
| 176 | end_bracket_section = section.add_new_section('ending-bracket') |
| 177 | self._end_nested_param(end_bracket_section, end) |
| 178 | |
| 179 | |
| 180 | class ResponseExampleDocumenter(BaseExampleDocumenter): |
no test coverage detected