We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e39489b commit 41d2632Copy full SHA for 41d2632
cfapyx/group.py
@@ -35,7 +35,7 @@ def __getitem__(self, item):
35
to be handled for the two sets of variables.
36
"""
37
38
- if type(item) == int:
+ if isinstance(item, int):
39
item = list(self.keys())[item]
40
41
if item in self._properties:
0 commit comments