summaryrefslogtreecommitdiff
path: root/numpy/core/defchararray.py
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2022-09-18 19:17:36 -0600
committerGitHub <noreply@github.com>2022-09-18 19:17:36 -0600
commit327dcbfa1c20668fc4b8fec1b3ed4d5e58fe3bbe (patch)
treeacf58d3085358788a5886af88f214e22020fe464 /numpy/core/defchararray.py
parent4963402f922e3eea347d6165ec0fe7b386663704 (diff)
downloadnumpy-327dcbfa1c20668fc4b8fec1b3ed4d5e58fe3bbe.tar.gz
Update numpy/core/defchararray.py
Co-authored-by: Brigitta Sipőcz <b.sipocz@gmail.com>
Diffstat (limited to 'numpy/core/defchararray.py')
-rw-r--r--numpy/core/defchararray.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/defchararray.py b/numpy/core/defchararray.py
index eafa4c4da..0df7a6f0f 100644
--- a/numpy/core/defchararray.py
+++ b/numpy/core/defchararray.py
@@ -946,7 +946,7 @@ def isupper(a):
Examples
--------
>>> import numpy as np
- >>> str="GHC"
+ >>> str = "GHC"
>>> np.char.isupper(str)
array(True)