FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Merge pull request #50 from timgates42/bugfix_typo_shortcut · fluentpython/example-code@03d3494 · GitHub

This repository was archived by the owner on Dec 2, 2021. It is now read-only.
/ example-code Public archive

Commit 03d3494

Browse files
authored
Merge pull request #50 from timgates42/bugfix_typo_shortcut
docs: fix simple typo, shorcut -> shortcut
2 parents 58dbea0 + 169d3c6 commit 03d3494

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎18-asyncio/charfinder/charfinder.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ def find_chars(self, query, start=0, stop=None):
163163
result_sets = []
164164
for word in tokenize(query):
165165
chars = self.index.get(word)
166-
if chars is None: # shorcut: no such word
166+
if chars is None: # shortcut: no such word
167167
result_sets = []
168168
break
169169
result_sets.append(chars)

‎attic/concurrency/charfinder/charfinder.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ def find_chars(self, query, start=0, stop=None):
165165
for word in tokenize(query):
166166
if word in self.index:
167167
result_sets.append(self.index[word])
168-
else: # shorcut: no such word
168+
else: # shortcut: no such word
169169
result_sets = []
170170
break
171171
if result_sets:

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL