Skip to content

Commit 21f9837

Browse files
Expand __all__ in relation to new changes
1 parent 1f3060e commit 21f9837

File tree

1 file changed

+61
-2
lines changed

1 file changed

+61
-2
lines changed

dpnp/__init__.py

Lines changed: 61 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -597,8 +597,66 @@
597597
# Public API
598598
# =============================================================================
599599

600-
# Array creation routines
600+
# Data types, constants and type-related helpers
601601
__all__ = [
602+
"bool",
603+
"bool_",
604+
"byte",
605+
"cdouble",
606+
"complex128",
607+
"complex64",
608+
"complexfloating",
609+
"csingle",
610+
"double",
611+
"dtype",
612+
"float16",
613+
"float32",
614+
"float64",
615+
"floating",
616+
"inexact",
617+
"int_",
618+
"int8",
619+
"int16",
620+
"int32",
621+
"int64",
622+
"integer",
623+
"intc",
624+
"intp",
625+
"longlong",
626+
"number",
627+
"short",
628+
"signedinteger",
629+
"single",
630+
"ubyte",
631+
"uint8",
632+
"uint16",
633+
"uint32",
634+
"uint64",
635+
"uintc",
636+
"uintp",
637+
"unsignedinteger",
638+
"ushort",
639+
"ulonglong",
640+
]
641+
__all__ += [
642+
"e",
643+
"euler_gamma",
644+
"inf",
645+
"nan",
646+
"newaxis",
647+
"pi",
648+
]
649+
__all__ += [
650+
"common_type",
651+
"finfo",
652+
"iinfo",
653+
"isdtype",
654+
"issubdtype",
655+
"is_type_supported",
656+
]
657+
658+
# Array creation routines
659+
__all__ += [
602660
"arange",
603661
"array",
604662
"asanyarray",
@@ -917,6 +975,7 @@
917975
# Miscellaneous routines
918976
__all__ += [
919977
"broadcast_shapes",
978+
"byte_bounds",
920979
"get_include",
921980
]
922981

@@ -1001,7 +1060,7 @@
10011060
]
10021061

10031062
# add submodules
1004-
__all__ = ["exceptions", "fft", "linalg", "random", "scipy"]
1063+
__all__ += ["exceptions", "fft", "linalg", "random", "scipy"]
10051064

10061065

10071066
__version__ = get_versions()["version"]

0 commit comments

Comments
 (0)