Skip to content

Commit e1ccdf0

Browse files
committed
Make typing 3.9 compatible.
1 parent 9a186b8 commit e1ccdf0

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

lib/iris/fileformats/netcdf/saver.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -292,9 +292,7 @@ class VariableEmulator(typing.Protocol):
292292
_data_array: np.typing.ArrayLike
293293

294294

295-
CFVariable: typing.TypeAlias = typing.Union[
296-
_thread_safe_nc.VariableWrapper, VariableEmulator
297-
]
295+
CFVariable = typing.Union[_thread_safe_nc.VariableWrapper, VariableEmulator]
298296

299297

300298
class Saver:

0 commit comments

Comments
 (0)