Skip to content
This repository was archived by the owner on Dec 2, 2021. It is now read-only.

docs: fix simple typo, shorcut -> shortcut #50

Merged
merged 1 commit into from
Jun 19, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion 18-asyncio/charfinder/charfinder.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ def find_chars(self, query, start=0, stop=None):
result_sets = []
for word in tokenize(query):
chars = self.index.get(word)
if chars is None: # shorcut: no such word
if chars is None: # shortcut: no such word
result_sets = []
break
result_sets.append(chars)
Expand Down
2 changes: 1 addition & 1 deletion attic/concurrency/charfinder/charfinder.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ def find_chars(self, query, start=0, stop=None):
for word in tokenize(query):
if word in self.index:
result_sets.append(self.index[word])
else: # shorcut: no such word
else: # shortcut: no such word
result_sets = []
break
if result_sets:
Expand Down