updated some breaking scenes to python3

This commit is contained in:
Ishan Dutta
2018-09-19 08:53:28 +05:30
parent 384895b9a8
commit 78b14c8be8
39 changed files with 82 additions and 81 deletions

View File

@ -3483,7 +3483,7 @@ class KeeperAndSailor(DistanceProductScene, PiCreatureScene):
anims += [
MoveToTarget(part)
for pi in self.observers
for part in pi, pi.dot, pi.title
for part in [pi, pi.dot, pi.title]
]
anims += added_anims
@ -4908,7 +4908,7 @@ class KeeperAndSailorForSineProduct(KeeperAndSailor):
FadeOut(product_lines),
*[
ReplacementTransform(product[i], one_minus_f_over_k[j])
for i, j in (3, 1), (4, 2), (5, 3), (2, 4), (1, 5)
for i, j in [(3, 1), (4, 2), (5, 3), (2, 4), (1, 5)]
]
)
self.wait()