What is the pythonic/faster way to check if the "key" argument of a custom _getitem__ method is a slice?
What is the pythonic/faster way to check if the "key" argument of a custom __getitem__ method is a slice?