summaryrefslogtreecommitdiff
path: root/numpy
diff options
context:
space:
mode:
Diffstat (limited to 'numpy')
-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)