Change superclass to subclass in some documentation

This commit is contained in:
Kaeptm Blaubaer
2019-03-16 10:32:59 +01:00
committed by Danny
parent 36ac1720d8
commit b506ee1b8e
3 changed files with 10 additions and 10 deletions

View File

@ -898,7 +898,7 @@ class GroupMixin:
Attributes
-----------
all_commands: :class:`dict`
A mapping of command name to :class:`.Command` or superclass
A mapping of command name to :class:`.Command` or subclass
objects.
case_insensitive: :class:`bool`
Whether the commands should be case insensitive. Defaults to ``False``.
@ -921,7 +921,7 @@ class GroupMixin:
self.remove_command(command.name)
def add_command(self, command):
"""Adds a :class:`.Command` or its superclasses into the internal list
"""Adds a :class:`.Command` or its subclasses into the internal list
of commands.
This is usually not called, instead the :meth:`~.GroupMixin.command` or