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
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy