From a9dfeb195e53aba9b444959da8b16addea3574d2 Mon Sep 17 00:00:00 2001 From: Numerlor <25886452+Numerlor@users.noreply.github.com> Date: Mon, 14 Dec 2020 05:50:45 +0100 Subject: Revert "Clear up docstring so it doesn't rely on private attribute" This reverts commit ad90978f --- bot/exts/info/doc/_cog.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.3