Fix name conflict with _()

This commit is contained in:
Valentin Lorentz 2011-01-26 10:01:58 +01:00
parent ad2ad80263
commit e705d3b5a9

View File

@ -314,7 +314,7 @@ def _getRe(f):
s = args.pop(0) s = args.pop(0)
def isRe(s): def isRe(s):
try: try:
_ = f(s) foo = f(s)
return True return True
except ValueError: except ValueError:
return False return False