How can I make a regular expression that will match every occurrence
of a group and return each occurrence as a group match? For example,
for a string "-c-c-c-c-c", how can I make a regex which will return a
group match for each occurrence of "-c"?
--
http://mail.python.org/mailman/listinfo/python
class Vertex(tuple):
pass
class Positioned_Vertex(Vertex):
def __init__(self, a, b):
Vertex.__init__(a)
a=Positioned_Vertex((0,0,0), 1)
This gives:
TypeError: tuple() takes at most 1 argument (2 given)
It looks like the explicit call to Vertex.__init__ is never made and
Vertex