diff options
| author | 2020-12-14 05:50:45 +0100 | |
|---|---|---|
| committer | 2021-01-09 20:10:54 +0100 | |
| commit | a9dfeb195e53aba9b444959da8b16addea3574d2 (patch) | |
| tree | e65a6ee48a8994603bea66de9eca87ca4b627d1d | |
| parent | Run html parsing in an executor (diff) | |
Revert "Clear up docstring so it doesn't rely on private attribute"
This reverts commit ad90978f
| -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 093e5cdb7..92190bc55 100644 --- a/bot/exts/info/doc/_cog.py +++ b/bot/exts/info/doc/_cog.py @@ -143,7 +143,7 @@ class CachedParser: log.trace("Finished parsing queue.") def _move_to_front(self, item: Union[QueueItem, DocItem]) -> None: - """Map a DocItem to its page so that the symbol will be parsed once the page is requested.""" + """Move `item` to the front of the parse queue.""" # The parse queue stores soups along with the doc symbols in QueueItem objects, # in case we're moving a DocItem we have to get the associated QueueItem first and then move it. item_index = self._queue.index(item) |