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

Commitf87fc96

Browse files
committed
Use generator instead of a list
1 parent0cfbd99 commitf87fc96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎bpython/autocomplete.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ def _method_match_substring(word: str, size: int, text: str) -> bool:
207207

208208

209209
def_method_match_fuzzy(word:str,size:int,text:str)->bool:
210-
s=r".*%s.*"%".*".join(list(text))
210+
s=r".*{}.*".format(".*".join(cforcintext))
211211
returnre.search(s,word)isnotNone
212212

213213

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp