mirror of
https://github.com/evennia/evennia.git
synced 2026-03-25 17:26:32 +01:00
Correct docstring for $dbref protfunc
This commit is contained in:
parent
2302aa654a
commit
0bd1af6992
1 changed files with 1 additions and 1 deletions
|
|
@ -333,7 +333,7 @@ def objlist(*args, **kwargs):
|
|||
def dbref(*args, **kwargs):
|
||||
"""
|
||||
Usage $dbref(<#dbref>)
|
||||
Returns one Object searched globally by #dbref. Error if #dbref is invalid.
|
||||
Validate that a #dbref input is valid.
|
||||
"""
|
||||
if not args or len(args) < 1 or _RE_DBREF.match(args[0]) is None:
|
||||
raise ValueError('$dbref requires a valid #dbref argument.')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue