Skip to content

Commit f08d2fa

Browse files
authored
Merge pull request fastai#191 from aakashns/patch-3
remove an unused local variable
2 parents 762f0b6 + 0711e31 commit f08d2fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fastai/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def to_gpu(x, *args, **kwargs):
4343
def noop(*args, **kwargs): return
4444

4545
def split_by_idxs(seq, idxs):
46-
last, sl = 0, len(seq)
46+
last = 0
4747
for idx in idxs:
4848
yield seq[last:idx]
4949
last = idx

0 commit comments

Comments
 (0)