diff options
Diffstat (limited to 'adbh.py')
-rw-r--r-- | adbh.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -144,7 +144,7 @@ class _GenericAdvFuncHelper: #@classmethod def register_function(cls, funcdef): - if isinstance(funcdef, basestring) : + if isinstance(funcdef, str) : funcdef = FunctionDescr(funcdef.upper()) assert not funcdef.name in cls.FUNCTIONS, \ '%s is already registered' % funcdef.name |