Dimitri Korsch %!s(int64=4) %!d(string=hai) anos
pai
achega
1097eb2fc2
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      cvdatasets/dataset/part/base.py

+ 1 - 1
cvdatasets/dataset/part/base.py

@@ -14,7 +14,7 @@ class BasePartCollection(ABC):
 	def __getitem__(self, i):
 		return self._parts[i]
 
-	def __len__(self, i):
+	def __len__(self):
 		return len(self._parts)
 
 	def __repr__(self):