diff options
author | Bas van Beek <b.f.van.beek@vu.nl> | 2021-01-15 19:13:46 +0100 |
---|---|---|
committer | Bas van Beek <b.f.van.beek@vu.nl> | 2021-01-19 17:05:42 +0100 |
commit | 0a32e68bced83ce045f043c916a1b0cfa78df967 (patch) | |
tree | 72cd2260c31202af1ca3e1504a97b0c7fdad3395 | |
parent | 515c3416e0480b6219d6b8737642c3b27d7157f4 (diff) | |
download | numpy-0a32e68bced83ce045f043c916a1b0cfa78df967.tar.gz |
DOC: Added a missing `Union` import
-rw-r--r-- | numpy/typing/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/typing/__init__.py b/numpy/typing/__init__.py index 3c15c7c0b..a1d943235 100644 --- a/numpy/typing/__init__.py +++ b/numpy/typing/__init__.py @@ -185,7 +185,7 @@ class NBitBase: .. code-block:: python >>> from __future__ import annotations - >>> from typing import TypeVar, TYPE_CHECKING + >>> from typing import TypeVar, Union, TYPE_CHECKING >>> import numpy as np >>> import numpy.typing as npt |