Skip to content

Commit

Permalink
Merge from 3.x: PR #4866
Browse files Browse the repository at this point in the history
Fixes #4862
  • Loading branch information
ccordoba12 committed Aug 1, 2017
2 parents 5ffcf2b + 2c3d30a commit 8456bc0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions spyder/utils/ipython/spyder_kernel.py
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ def _get_len(self, var):
"""Return sequence length"""
try:
return len(var)
except TypeError:
except:
return None

def _is_array(self, var):
Expand Down Expand Up @@ -362,7 +362,7 @@ def _get_array_shape(self, var):
return var.shape
else:
return None
except AttributeError:
except:
return None

def _get_array_ndim(self, var):
Expand All @@ -372,7 +372,7 @@ def _get_array_ndim(self, var):
return var.ndim
else:
return None
except AttributeError:
except:
return None

# --- For Pdb
Expand Down

0 comments on commit 8456bc0

Please sign in to comment.