projects
/
linpy.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Working test suite
[linpy.git]
/
pypol
/
linear.py
diff --git
a/pypol/linear.py
b/pypol/linear.py
index
2c71c02
..
845fac3
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
@@
-355,7
+355,7
@@
class Symbol(Expression):
def symbols(names):
if isinstance(names, str):
names = names.replace(',', ' ').split()
def symbols(names):
if isinstance(names, str):
names = names.replace(',', ' ').split()
- return (
s
ymbol(name) for name in names)
+ return (
S
ymbol(name) for name in names)
@_polymorphic_operator
@_polymorphic_operator