From 4d97eb9643e4895b8fc44ee046b8395432b6b34c Mon Sep 17 00:00:00 2001 From: cclauss Date: Mon, 24 Sep 2018 07:10:15 +0100 Subject: [PATCH] Explicit tuple required in comprehension in Python 3 --- old_projects/bell.py | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) diff --git a/old_projects/bell.py b/old_projects/bell.py index 2cae31a5..ac0513fe 100644 --- a/old_projects/bell.py +++ b/old_projects/bell.py @@ -1,4 +1,3 @@ - from big_ol_pile_of_manim_imports import * from tqdm import tqdm as ProgressDisplay @@ -219,7 +218,7 @@ class PhotonsThroughPerpendicularFilters(PhotonPassesCompletelyOrNotAtAll): color = here.get_color(), normal_vector = DOWN+OUT, ) - for here, x in (here1, 0), (here2, 4) + for here, x in ((here1, 0), (here2, 4)) ] prob_text.add(*arrows) @@ -2454,19 +2453,3 @@ class NoFirstMeasurementPreferenceBasedOnDirection(ShowVariousFilterPairs): ) self.add_foreground_mobject(all_pre_lines) self.wait(7) - - - - - - - - - - - - - - - -