Skip to content

Commit 41d2632

Browse files
committed
Minor syntax update
1 parent e39489b commit 41d2632

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cfapyx/group.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def __getitem__(self, item):
3535
to be handled for the two sets of variables.
3636
"""
3737

38-
if type(item) == int:
38+
if isinstance(item, int):
3939
item = list(self.keys())[item]
4040

4141
if item in self._properties:

0 commit comments

Comments
 (0)