From 0bd1af6992b1bcd14dd964acf01def2b36aec231 Mon Sep 17 00:00:00 2001 From: Griatch Date: Thu, 7 Feb 2019 09:52:58 +0100 Subject: [PATCH] Correct docstring for $dbref protfunc --- evennia/prototypes/protfuncs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/evennia/prototypes/protfuncs.py b/evennia/prototypes/protfuncs.py index e222876221..30f590c189 100644 --- a/evennia/prototypes/protfuncs.py +++ b/evennia/prototypes/protfuncs.py @@ -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.')