aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Numerlor <[email protected]>2019-11-03 20:06:41 +0100
committerGravatar Numerlor <[email protected]>2019-11-03 20:06:41 +0100
commit1b0a8c8109240615e5d9309937a434e1d29bcf24 (patch)
tree923c0239f2912b128151753aeff451c00070e9b6
parentFix case for the python package name in `NO_OVERRIDE_PACKAGES` (diff)
Comment grammar
-rw-r--r--bot/cogs/doc.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/cogs/doc.py b/bot/cogs/doc.py
index 563f83040..934cb2a6d 100644
--- a/bot/cogs/doc.py
+++ b/bot/cogs/doc.py
@@ -194,9 +194,9 @@ class Doc(commands.Cog):
for package in NO_OVERRIDE_PACKAGES)):
symbol = f"{group_name}.{symbol}"
- # if renamed `symbol` was already exists, add library name in front
+ # If renamed `symbol` already exists, add library name in front.
if symbol in self.renamed_symbols:
- # split `package_name` because of packages like Pillow that have spaces in them
+ # Split `package_name` because of packages like Pillow that have spaces in them.
symbol = f"{package_name.split()[0]}.{symbol}"
self.inventories[symbol] = absolute_doc_url