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:
e27fd6a
)
Make symbolnames return a tuple
author
Vivien Maisonneuve
<v.maisonneuve@gmail.com>
Wed, 2 Jul 2014 08:25:55 +0000
(10:25 +0200)
committer
Vivien Maisonneuve
<v.maisonneuve@gmail.com>
Wed, 2 Jul 2014 08:25:55 +0000
(10:25 +0200)
pypol/linexprs.py
patch
|
blob
|
history
diff --git
a/pypol/linexprs.py
b/pypol/linexprs.py
index
b330045
..
10daf9d
100644
(file)
--- a/
pypol/linexprs.py
+++ b/
pypol/linexprs.py
@@
-441,7
+441,7
@@
def symbolname(symbol):
def symbolnames(symbols):
if isinstance(symbols, str):
return symbols.replace(',', ' ').split()
- return (symbolname(symbol) for symbol in symbols)
+ return
tuple
(symbolname(symbol) for symbol in symbols)
class Constant(Expression):