We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 23e18ed commit 75bc617Copy full SHA for 75bc617
lib/iris/cube.py
@@ -174,12 +174,12 @@ def __str__(self):
174
175
def __repr__(self):
176
"""Runs repr on every cube."""
177
- return '[%s]' % ',\n'.join([repr(cube) for cube in self])
+ return "[%s]" % ",\n".join([repr(cube) for cube in self])
178
179
@staticmethod
180
def _assert_is_cube(obj):
181
if not isinstance(obj, Cube):
182
- msg = ("Object of type '{}' does not belong in a cubelist.")
+ msg = "Object of type '{}' does not belong in a cubelist."
183
raise ValueError(msg.format(type(obj).__name__))
184
185
0 commit comments