1 parent 0c4e80b commit 18e314eCopy full SHA for 18e314e
1 file changed
xlrd/formula.py
@@ -953,7 +953,7 @@ def not_in_name_formula(op_arg, oname_arg):
953
])
954
res = Operand(oREF, None, rank, otext)
955
if bop.kind == oERR or aop.kind == oERR:
956
- res = oERR
+ res.kind = oERR
957
elif bop.kind == oREF == aop.kind:
958
if aop.value is not None and bop.value is not None:
959
assert len(aop.value) == 1
0 commit comments