Adjust docstring to resolve #1300
Also realigns code indent to multiple of 4 after `# ` is removed to uncomment
This commit is contained in:
parent
7ddcae9d32
commit
f8b279d7bb
1 changed files with 123 additions and 122 deletions
|
|
@ -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
|
||||
#
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue