diff options
| author | Thomas A Caswell <tcaswell@gmail.com> | 2019-06-14 22:42:34 -0400 |
|---|---|---|
| committer | Thomas A Caswell <tcaswell@gmail.com> | 2019-06-14 22:47:06 -0400 |
| commit | 5e6a3fd5c1bc15a7173d1fc347597c6acf166d0a (patch) | |
| tree | 6b55ff7b0cab8ecca861666e3b086b44485b353e /numpy/distutils/misc_util.py | |
| parent | a84476da7cc3eccbf63c7943cf6440af00df7938 (diff) | |
| download | numpy-5e6a3fd5c1bc15a7173d1fc347597c6acf166d0a.tar.gz | |
MAINT: fix 'in' -> 'is' typo
This is generating a SyntaxWarning.
It looks like it has been like this from
2006 (8869df5b1cba1ffeda6d772eee1a7507fe18bdef) when this first came
into the code base.
Diffstat (limited to 'numpy/distutils/misc_util.py')
| -rw-r--r-- | numpy/distutils/misc_util.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/distutils/misc_util.py b/numpy/distutils/misc_util.py index 795d348ef..89171eede 100644 --- a/numpy/distutils/misc_util.py +++ b/numpy/distutils/misc_util.py @@ -472,7 +472,7 @@ def is_sequence(seq): return True def is_glob_pattern(s): - return is_string(s) and ('*' in s or '?' is s) + return is_string(s) and ('*' in s or '?' in s) def as_list(seq): if is_sequence(seq): |
