mirror of
https://github.com/evennia/evennia.git
synced 2026-03-16 21:06:30 +01:00
triple quotes
[Documentation] add triple quotes for docstring
This commit is contained in:
parent
4136298695
commit
c938b89cfe
1 changed files with 2 additions and 2 deletions
|
|
@ -182,7 +182,7 @@ the bottom of this file:
|
|||
help_category = "General"
|
||||
|
||||
def func(self):
|
||||
"implements the actual functionality"
|
||||
"""implements the actual functionality"""
|
||||
|
||||
str, agi, mag = self.caller.get_abilities()
|
||||
string = "STR: %s, AGI: %s, MAG: %s" % (str, agi, mag)
|
||||
|
|
@ -242,7 +242,7 @@ functionality. Here is an example of how the file could look:
|
|||
assume it looks like a stone in this example.
|
||||
"""
|
||||
def at_object_creation(self):
|
||||
"Called when object is first created"
|
||||
"""Called when object is first created"""
|
||||
self.db.wise_texts = \
|
||||
["Stones have feelings too.",
|
||||
"To live like a stone is to not have lived at all.",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue