mirror of
https://github.com/evennia/evennia.git
synced 2026-03-29 12:07:17 +02:00
update RecogHandler.get docstring
This commit is contained in:
parent
7ff4cfdedf
commit
155de4fcac
1 changed files with 3 additions and 3 deletions
|
|
@ -773,13 +773,13 @@ class RecogHandler:
|
|||
|
||||
def get(self, obj):
|
||||
"""
|
||||
Get recog replacement string, if one exists, otherwise
|
||||
get sdesc and as a last resort, the object's key.
|
||||
Get recog replacement string, if one exists.
|
||||
|
||||
Args:
|
||||
obj (Object): The object, whose sdesc to replace
|
||||
Returns:
|
||||
recog (str): The replacement string to use.
|
||||
recog (str or None): The replacement string to use, or
|
||||
None if there is no recog for this object.
|
||||
|
||||
Notes:
|
||||
This method will respect a "enable_recog" lock set on
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue