Skip to content

Commit 1800e1b

Browse files
committed
PEP8 the except block
1 parent 54932c7 commit 1800e1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/core/indexing.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -982,7 +982,7 @@ def _getitem_lowerdim(self, tup):
982982
self._get_label(tup, axis=self.axis)
983983
except KeyError:
984984
return self._get_label(tup, axis=self.axis)
985-
except:
985+
except Exception:
986986
raise IndexingError("Too many indexers. handle elsewhere")
987987

988988
# to avoid wasted computation

0 commit comments

Comments
 (0)