Rename docstring Kwargs to Keyword Args

This commit is contained in:
Griatch 2020-07-10 15:05:18 +02:00
parent 29fc31bb01
commit 7fed14d233
58 changed files with 203 additions and 213 deletions

View file

@ -229,7 +229,7 @@ class ServerSession(Session):
"""
Update the protocol_flags and sync them with Portal.
Kwargs:
Keyword args:
key, value - A key:value pair to set in the
protocol_flags dictionary.
@ -247,7 +247,7 @@ class ServerSession(Session):
"""
Sending data from Evennia->Client
Kwargs:
Keyword args:
text (str or tuple)
any (str or tuple): Send-commands identified
by their keys. Or "options", carrying options
@ -261,7 +261,7 @@ class ServerSession(Session):
Receiving data from the client, sending it off to
the respective inputfuncs.
Kwargs:
Keyword args:
kwargs (any): Incoming data from protocol on
the form `{"commandname": ((args), {kwargs}),...}`
Notes:
@ -279,7 +279,7 @@ class ServerSession(Session):
Args:
text (str): String input.
Kwargs:
Keyword args:
any (str or tuple): Send-commands identified
by their keys. Or "options", carrying options
for the protocol(s).
@ -307,7 +307,7 @@ class ServerSession(Session):
session (Session): This is here to make API consistent with
Account/Object.execute_cmd. If given, data is passed to
that Session, otherwise use self.
Kwargs:
Keyword args:
Other keyword arguments will be added to the found command
object instace as variables before it executes. This is
unused by default Evennia but may be used to set flags and