Mentions légales du service

Skip to content
Snippets Groups Projects
Commit e7bee64f authored by David Ham's avatar David Ham
Browse files

Merge branch 'iterable_sequences' into 'master'

make sequences iterable

See merge request !2
parents fe039288 e6244000
Branches
No related tags found
1 merge request!2make sequences iterable
......@@ -199,6 +199,9 @@ class Sequence:
else:
return self.concat_sequence(self.concat).__repr__()
def __iter__(self):
return iter(self.concat_sequence(self.concat))
def canonical(self):
if self.function.name == "Disk-Revolve":
concat = 2
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment