projects
/
linpy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
383296f
)
Fix Expression.__bool__
author
Vivien Maisonneuve
<v.maisonneuve@gmail.com>
Thu, 19 Jun 2014 08:10:00 +0000
(10:10 +0200)
committer
Vivien Maisonneuve
<v.maisonneuve@gmail.com>
Thu, 19 Jun 2014 08:10:00 +0000
(10:10 +0200)
pypol/linear.py
patch
|
blob
|
history
diff --git
a/pypol/linear.py
b/pypol/linear.py
index
2c71c02
..
749f7c3
100644
(file)
--- a/
pypol/linear.py
+++ b/
pypol/linear.py
@@
-135,7
+135,7
@@
class Expression:
return False
def __bool__(self):
return False
def __bool__(self):
- True
+
return
True
def __pos__(self):
return self
def __pos__(self):
return self