File tree Expand file tree Collapse file tree 2 files changed +0
-33
lines changed
lib/matplotlib/testing/jpl_units Expand file tree Collapse file tree 2 files changed +0
-33
lines changed Original file line number Diff line number Diff line change @@ -132,28 +132,6 @@ def __rmul__(self, lhs):
132
132
"""
133
133
return Duration (self ._frame , self ._seconds * float (lhs ))
134
134
135
- def __div__ (self , rhs ):
136
- """Divide a Duration by a value.
137
-
138
- = INPUT VARIABLES
139
- - rhs The scalar to divide by.
140
-
141
- = RETURN VALUE
142
- - Returns the scaled Duration.
143
- """
144
- return Duration (self ._frame , self ._seconds / rhs )
145
-
146
- def __rdiv__ (self , rhs ):
147
- """Divide a Duration by a value.
148
-
149
- = INPUT VARIABLES
150
- - rhs The scalar to divide by.
151
-
152
- = RETURN VALUE
153
- - Returns the scaled Duration.
154
- """
155
- return Duration (self ._frame , rhs / self ._seconds )
156
-
157
135
def __str__ (self ):
158
136
"""Print the Duration."""
159
137
return "%g %s" % (self ._seconds , self ._frame )
Original file line number Diff line number Diff line change @@ -175,17 +175,6 @@ def __rmul__(self, lhs):
175
175
"""
176
176
return UnitDbl (self ._value * lhs , self ._units )
177
177
178
- def __div__ (self , rhs ):
179
- """Divide a UnitDbl by a value.
180
-
181
- = INPUT VARIABLES
182
- - rhs The scalar to divide by.
183
-
184
- = RETURN VALUE
185
- - Returns the scaled UnitDbl.
186
- """
187
- return UnitDbl (self ._value / rhs , self ._units )
188
-
189
178
def __str__ (self ):
190
179
"""Print the UnitDbl."""
191
180
return "%g *%s" % (self ._value , self ._units )
You can’t perform that action at this time.
0 commit comments