Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Dec 2, 2021. It is now read-only.

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

Merged
ramalho merged 1 commit intofluentpython:masterfromtimgates42:bugfix_typo_shortcut
Jun 19, 2021
Merged
Show file tree
Hide file tree
Changes fromall 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 deletion18-asyncio/charfinder/charfinder.py
View file
Open in desktop
Original file line numberDiff line numberDiff 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 deletionattic/concurrency/charfinder/charfinder.py
View file
Open in desktop
Original file line numberDiff line numberDiff 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

[8]ページ先頭

©2009-2025 Movatter.jp