Adjust docstring to resolve #1300

Also realigns code indent to multiple of 4 after `# ` is removed to uncomment
This commit is contained in:
BlauFeuer 2017-04-06 19:12:40 -04:00 committed by GitHub
parent 7ddcae9d32
commit f8b279d7bb

View file

@ -21,17 +21,17 @@ class Command(BaseCommand):
Each Command implements the following methods, called
in this order (only func() is actually required):
- at_pre_command(): If this returns True, execution is aborted.
- at_pre_cmd(): If this returns True, execution is aborted.
- parse(): Should perform any extra parsing needed on self.args
and store the result on self.
- func(): Performs the actual work.
- at_post_command(): Extra actions, often things done after
- at_post_cmd(): Extra actions, often things done after
every command, like prompts.
"""
pass
#------------------------------------------------------------
# -------------------------------------------------------------
#
# The default commands inherit from
#
@ -46,10 +46,12 @@ class Command(BaseCommand):
# the functionality implemented in the parse() method, so be
# careful with what you change.
#
#------------------------------------------------------------
# -------------------------------------------------------------
#from evennia.utils import utils
#class MuxCommand(Command):
# from evennia.utils import utils
#
#
# class MuxCommand(Command):
# """
# This sets up the basis for a MUX command. The idea
# is that most other Mux-related commands should just
@ -181,4 +183,3 @@ class Command(BaseCommand):
# self.character = self.caller.get_puppet(self.session)
# else:
# self.character = None
#