summaryrefslogtreecommitdiff
path: root/adbh.py
diff options
context:
space:
mode:
Diffstat (limited to 'adbh.py')
-rw-r--r--adbh.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/adbh.py b/adbh.py
index 5e25ebc..6e65c08 100644
--- a/adbh.py
+++ b/adbh.py
@@ -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