summaryrefslogtreecommitdiff
path: root/numpy/core/defchararray.py
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2022-09-18 19:21:54 -0600
committerGitHub <noreply@github.com>2022-09-18 19:21:54 -0600
commitf6f98a3b0fb0db243449462e76355b523a443088 (patch)
tree582d304a10a734fee1a18f178e4e322ab9d27939 /numpy/core/defchararray.py
parent327dcbfa1c20668fc4b8fec1b3ed4d5e58fe3bbe (diff)
downloadnumpy-f6f98a3b0fb0db243449462e76355b523a443088.tar.gz
MAIN: `import numpy as np` is not needed
Diffstat (limited to 'numpy/core/defchararray.py')
-rw-r--r--numpy/core/defchararray.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/numpy/core/defchararray.py b/numpy/core/defchararray.py
index 0df7a6f0f..b7298d2cd 100644
--- a/numpy/core/defchararray.py
+++ b/numpy/core/defchararray.py
@@ -943,9 +943,8 @@ def isupper(a):
--------
str.isupper
- Examples
+ Examples
--------
- >>> import numpy as np
>>> str = "GHC"
>>> np.char.isupper(str)
array(True)