Skip to content

Commit b2536a0

Browse files
committed
Remove unnecessary module qualifier for method.
1 parent b65f59e commit b2536a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

strings-regular-expressions-and-text-data-analysis.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -513,7 +513,7 @@
513513
],
514514
"source": [
515515
"sentence_re = re.compile(\"^\" + sentence + \"$\")\n",
516-
"for a in itertools.islice(abstracts(), 0, 400):\n",
516+
"for a in islice(abstracts(), 0, 400):\n",
517517
" a = a.split(\".\")[0] + '.' # Keep only first sentence.\n",
518518
" if sentence_re.match(a) is not None:\n",
519519
" print(a)"

0 commit comments

Comments
 (0)