diff options
| author | 2020-12-14 05:51:13 +0100 | |
|---|---|---|
| committer | 2021-01-09 20:10:54 +0100 | |
| commit | 2da9d443598bcf91c9eb6ab22963806a201fce01 (patch) | |
| tree | e1e657199c5746353ec806a1e8e5be472701c06e | |
| parent | Revert "Clear up docstring so it doesn't rely on private attribute" (diff) | |
Clear up docstring so it doesn't rely on private attribute
Co-authored-by: MarkKoz <[email protected]>
| -rw-r--r-- | bot/exts/info/doc/_cog.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/info/doc/_cog.py b/bot/exts/info/doc/_cog.py index 92190bc55..6c51ab738 100644 --- a/bot/exts/info/doc/_cog.py +++ b/bot/exts/info/doc/_cog.py @@ -152,7 +152,7 @@ class CachedParser: self._queue.append(queue_item) def add_item(self, doc_item: DocItem) -> None: - """Add a DocItem to `_page_symbols`.""" + """Map a DocItem to its page so that the symbol will be parsed once the page is requested.""" self._page_symbols[doc_item.url].append(doc_item) async def clear(self) -> None: |