forked from OSchip/llvm-project
parent
f748c8937e
commit
37a0fc483b
|
@ -204,7 +204,6 @@ ne_def = " def __ne__(self, other): return not self.__eq__(other)"
|
||||||
# Delegate to self.IsValid() if it is defined for the current lldb object.
|
# Delegate to self.IsValid() if it is defined for the current lldb object.
|
||||||
|
|
||||||
if six.PY2:
|
if six.PY2:
|
||||||
print("Test")
|
|
||||||
nonzero_def = " def __nonzero__(self): return self.IsValid()"
|
nonzero_def = " def __nonzero__(self): return self.IsValid()"
|
||||||
else:
|
else:
|
||||||
nonzero_def = " def __bool__(self): return self.IsValid()"
|
nonzero_def = " def __bool__(self): return self.IsValid()"
|
||||||
|
|
Loading…
Reference in New Issue