aboutsummaryrefslogtreecommitdiffstats
path: root/botcore/utils/extensions.py
diff options
context:
space:
mode:
authorGravatar Chris Lovering <[email protected]>2022-02-23 00:59:09 +0000
committerGravatar Chris Lovering <[email protected]>2022-02-24 17:32:48 +0000
commitaa2f9685c29d46a2666654c545d4461763c903b6 (patch)
tree20680504d6049f1f306e06fbb37f99293e8e78f2 /botcore/utils/extensions.py
parentBreaking change notice due to regex move (diff)
Alter docstrings to look better in autodocs
Diffstat (limited to 'botcore/utils/extensions.py')
-rw-r--r--botcore/utils/extensions.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/botcore/utils/extensions.py b/botcore/utils/extensions.py
index c8f200ad..3f8d6e6d 100644
--- a/botcore/utils/extensions.py
+++ b/botcore/utils/extensions.py
@@ -9,7 +9,7 @@ from typing import NoReturn
def unqualify(name: str) -> str:
"""
- Return an unqualified name given a qualified module/package `name`.
+ Return an unqualified name given a qualified module/package ``name``.
Args:
name: The module name to unqualify.
@@ -22,7 +22,7 @@ def unqualify(name: str) -> str:
def walk_extensions(module: types.ModuleType) -> frozenset[str]:
"""
- Yield extension names from the bot.exts subpackage.
+ Yield extension names from the given module.
Args:
module (types.ModuleType): The module to look for extensions in.