Skip to content

Commit c333bf9

Browse files
committed
Typo.
1 parent 2251d94 commit c333bf9

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

python3/word-counter.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@ def filter_func(tup):
1818
return False
1919
elif re.search('http[s]?://(?:[a-zA-Z]|[0-9]|[$-_@.&+]|[!*\(\),]|(?:%[0-9a-fA-F][0-9a-fA-F]))+',word):
2020
return False
21-
else:
22-
return True
21+
return True
2322

2423
def filtered_window(seq,n):
2524
return filter(filter_func, sliding_window(n,seq))

0 commit comments

Comments
 (0)