Skip to content

Commit 1168241

Browse files
committed
fixed minor pylint issue
1 parent 812f706 commit 1168241

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

GPUmodules/GPUmodule.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1999,7 +1999,7 @@ def gpus(self) -> Generator[GpuItem, None, None]:
19991999
20002000
:return: GpuUItem
20012001
"""
2002-
return self.__iter__()
2002+
return iter(self)
20032003

20042004
def add(self, gpu_item: GpuItem) -> None:
20052005
""" Add given GpuItem to the GpuList.

0 commit comments

Comments
 (0)