Skip to content

Commit 7b99913

Browse files
committed
CLN: made isscalar doctest slightly uglier so that we can import it (and use it) within larray
1 parent ebc2a27 commit 7b99913

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

larray/core/misc.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22

33
import numpy as np
44

5-
from larray.core.array import ndtest # noqa: F401
6-
75

86
def isscalar(element: Any) -> bool:
97
r"""
@@ -21,6 +19,7 @@ def isscalar(element: Any) -> bool:
2119
2220
Examples
2321
--------
22+
>>> from larray import ndtest
2423
>>> isscalar(3.1)
2524
True
2625
>>> isscalar([3.1])

0 commit comments

Comments
 (0)