File tree Expand file tree Collapse file tree 2 files changed +0
-16
lines changed Expand file tree Collapse file tree 2 files changed +0
-16
lines changed Original file line number Diff line number Diff line change @@ -408,10 +408,6 @@ def __truediv__(self, other):
408
408
smooth = (self .ifunc is not None ) and
409
409
(other .ifunc is not None ))
410
410
411
- # TODO: Remove when transition to python3 complete
412
- def __div__ (self , other ):
413
- return self .__truediv__ (other )
414
-
415
411
# TODO: Division of MIMO transfer function objects is not written yet.
416
412
def __rtruediv__ (self , other ):
417
413
"""Right divide two LTI objects."""
@@ -429,10 +425,6 @@ def __rtruediv__(self, other):
429
425
430
426
return other / self
431
427
432
- # TODO: Remove when transition to python3 complete
433
- def __rdiv__ (self , other ):
434
- return self .__rtruediv__ (other )
435
-
436
428
def __pow__ (self , other ):
437
429
if not type (other ) == int :
438
430
raise ValueError ("Exponent must be an integer" )
Original file line number Diff line number Diff line change @@ -702,10 +702,6 @@ def __truediv__(self, other):
702
702
703
703
return TransferFunction (num , den , dt )
704
704
705
- # TODO: Remove when transition to python3 complete
706
- def __div__ (self , other ):
707
- return TransferFunction .__truediv__ (self , other )
708
-
709
705
# TODO: Division of MIMO transfer function objects is not written yet.
710
706
def __rtruediv__ (self , other ):
711
707
"""Right divide two LTI objects."""
@@ -724,10 +720,6 @@ def __rtruediv__(self, other):
724
720
725
721
return other / self
726
722
727
- # TODO: Remove when transition to python3 complete
728
- def __rdiv__ (self , other ):
729
- return TransferFunction .__rtruediv__ (self , other )
730
-
731
723
def __pow__ (self , other ):
732
724
if not type (other ) == int :
733
725
raise ValueError ("Exponent must be an integer" )
You can’t perform that action at this time.
0 commit comments