~mdw
/
catacomb
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f2287e
)
symm/multigen (SequenceTemplate): Don't try to pass `seq' initarg.
author
Mark Wooding
<mdw@distorted.org.uk>
Tue, 8 Oct 2019 11:09:48 +0000
(12:09 +0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Sat, 9 May 2020 19:57:33 +0000
(20:57 +0100)
I have no idea how this ever worked. Certainly Python 3 complains, but
Python 2 should have done too.
symm/multigen
patch
|
blob
|
blame
|
history
diff --git
a/symm/multigen
b/symm/multigen
index
4c1921e
..
4115eb4
100755
(executable)
--- a/
symm/multigen
+++ b/
symm/multigen
@@
-363,7
+363,7
@@
class SequenceTemplate (BasicTemplate):
if len(seq) == 1:
return seq[0]
else:
- return super(SequenceTemplate, cls).__new__(cls,
seq = seq,
**kw)
+ return super(SequenceTemplate, cls).__new__(cls, **kw)
def __init__(me, seq, **kw):
"""