Skip to content

Commit e513266

Browse files
committed
TYP: Explicitly export numpy.trapezoid in __all__
1 parent 46849ee commit e513266

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

numpy/__init__.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -686,12 +686,12 @@ __all__ = [
686686
"nanquantile",
687687
# lib._function_base_impl.__all__
688688
# NOTE: `trapz` is omitted because it is deprecated
689-
# TODO: add `trapezoid` once type-hinted
690689
"select", "piecewise", "trim_zeros", "copy", "iterable", "percentile", "diff",
691690
"gradient", "angle", "unwrap", "sort_complex", "flip", "rot90", "extract", "place",
692691
"vectorize", "asarray_chkfinite", "average", "bincount", "digitize", "cov",
693692
"corrcoef", "median", "sinc", "hamming", "hanning", "bartlett", "blackman",
694693
"kaiser", "i0", "meshgrid", "delete", "insert", "append", "interp", "quantile",
694+
"trapezoid",
695695
# lib._twodim_base_impl.__all__
696696
"diag", "diagflat", "eye", "fliplr", "flipud", "tri", "triu", "tril", "vander",
697697
"histogram2d", "mask_indices", "tril_indices", "tril_indices_from", "triu_indices",

0 commit comments

Comments
 (0)