From 0f365cd01771d4ef5d937dce80f4f95a3860eae4 Mon Sep 17 00:00:00 2001 From: huangmengxi Date: Fri, 26 Mar 2021 09:55:46 +0800 Subject: [PATCH] fix docs --- mindspore/numpy/array_ops.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mindspore/numpy/array_ops.py b/mindspore/numpy/array_ops.py index 97c65df556..2e91149418 100644 --- a/mindspore/numpy/array_ops.py +++ b/mindspore/numpy/array_ops.py @@ -2064,8 +2064,7 @@ def select(condlist, choicelist, default=0): ValueError: if ``len(condlist) != len(choicelist)``. Examples: - >>> condlist = [[True, True, True, False, False], - [False, False, True, False, True]] + >>> condlist = [[True, True, True, False, False], [False, False, True, False, True]] >>> choicelist = [[0, 1, 2, 3, 4], [0, 1, 4, 9, 16]] >>> output = np.select(condlist, choicelist) >>> print(output)