8000 DOC: Added a missing `Union` import · numpy/numpy@0a32e68 · GitHub
[go: up one dir, main page]

Skip to content

Commit 0a32e68

Browse files
author
Bas van Beek
committed
DOC: Added a missing Union import
1 parent 515c341 commit 0a32e68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

numpy/typing/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ class NBitBase:
185185
.. code-block:: python
186186
187187
>>> from __future__ import annotations
188-
>>> from typing import TypeVar, TYPE_CHECKING
188+
>>> from typing import TypeVar, Union, TYPE_CHECKING
189189
>>> import numpy as np
190190
>>> import numpy.typing as npt
191191

0 commit comments

Comments
 (0)
0