CLN: pandas/core/indexing.py
- [ ] closes #xxxx
- [ ] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry

Slight clean-up of ``pandas/core/indexing.py``.

- Use ``suppress`` instead of ``try/except/pass`` (starting from Python 3.7)
- Slight rearrangement of statements
- Extract method ``_validate_key_length``