Skip to content

Commit

Permalink
PEP8 the except block
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanreh99 committed Apr 20, 2019
1 parent 54932c7 commit 1800e1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pandas/core/indexing.py
Original file line number Diff line number Diff line change
Expand Up @@ -982,7 +982,7 @@ def _getitem_lowerdim(self, tup):
self._get_label(tup, axis=self.axis)
except KeyError:
return self._get_label(tup, axis=self.axis)
except:
except Exception:
raise IndexingError("Too many indexers. handle elsewhere")

# to avoid wasted computation
Expand Down

0 comments on commit 1800e1b

Please sign in to comment.