File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -408,10 +408,6 @@ def __truediv__(self, other):
408408 smooth = (self .ifunc is not None ) and
409409 (other .ifunc is not None ))
410410
411- # TODO: Remove when transition to python3 complete
412- def __div__ (self , other ):
413- return self .__truediv__ (other )
414-
415411 # TODO: Division of MIMO transfer function objects is not written yet.
416412 def __rtruediv__ (self , other ):
417413 """Right divide two LTI objects."""
@@ -429,10 +425,6 @@ def __rtruediv__(self, other):
429425
430426 return other / self
431427
432- # TODO: Remove when transition to python3 complete
433- def __rdiv__ (self , other ):
434- return self .__rtruediv__ (other )
435-
436428 def __pow__ (self , other ):
437429 if not type (other ) == int :
438430 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):
702702
703703 return TransferFunction (num , den , dt )
704704
705- # TODO: Remove when transition to python3 complete
706- def __div__ (self , other ):
707- return TransferFunction .__truediv__ (self , other )
708-
709705 # TODO: Division of MIMO transfer function objects is not written yet.
710706 def __rtruediv__ (self , other ):
711707 """Right divide two LTI objects."""
@@ -724,10 +720,6 @@ def __rtruediv__(self, other):
724720
725721 return other / self
726722
727- # TODO: Remove when transition to python3 complete
728- def __rdiv__ (self , other ):
729- return TransferFunction .__rtruediv__ (self , other )
730-
731723 def __pow__ (self , other ):
732724 if not type (other ) == int :
733725 raise ValueError ("Exponent must be an integer" )
You can’t perform that action at this time.
0 commit comments