diff --git a/lib/iris/__init__.py b/lib/iris/__init__.py index 937a8946d4..2e7eba5892 100644 --- a/lib/iris/__init__.py +++ b/lib/iris/__init__.py @@ -121,7 +121,7 @@ def callback(cube, field, filename): # Iris revision. -__version__ = '2.1.1dev0' +__version__ = '2.2.0dev0' # Restrict the names imported when using "from iris import *" __all__ = ['load', 'load_cube', 'load_cubes', 'load_raw', diff --git a/lib/iris/fileformats/pp.py b/lib/iris/fileformats/pp.py index 24dab953f0..e49d1134d5 100644 --- a/lib/iris/fileformats/pp.py +++ b/lib/iris/fileformats/pp.py @@ -245,6 +245,11 @@ class STASH(collections.namedtuple('STASH', 'model section item')): >>> print(iris.fileformats.pp.STASH(1, 16, 203)) m01s16i203 + A stash object can be compared directly + to its string representation: + >>> iris.fileformats.pp.STASH(1, 0, 4) == 'm01s0i004' + True + """ __slots__ = ()