Get the RST lines for a named attribute, method, etc.
(
self,
entry_name: str,
doc: str = '',
*,
role: str,
args: str = '',
indent: int = 3,
**rst_options: Any,
)
| 1358 | return lines |
| 1359 | |
| 1360 | def entry( |
| 1361 | self, |
| 1362 | entry_name: str, |
| 1363 | doc: str = '', |
| 1364 | *, |
| 1365 | role: str, |
| 1366 | args: str = '', |
| 1367 | indent: int = 3, |
| 1368 | **rst_options: Any, |
| 1369 | ) -> list[str]: |
| 1370 | """Get the RST lines for a named attribute, method, etc.""" |
| 1371 | qualname = f'{self.name}.{entry_name}' |
| 1372 | return self._node(role, qualname, doc, args=args, indent=indent, **rst_options) |
| 1373 | |
| 1374 | def preamble_lookup( |
| 1375 | self, doc: str, *, indent: int = 0, **options: Any |
no test coverage detected