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

Commit3613936

Browse files
committed
Extend Regex For Compatibility Warning
1 parent140716e commit3613936

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

‎components/const.py

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -233,8 +233,14 @@
233233

234234
COMPAT_ERRORS=re.compile(
235235
r"""
236-
(Updater\._{0,2}init_{0,2}\(\)\ got\ an\ )?
237-
unexpected\ keyword\ argument\ ['"]*(use_context|token|use_controls|dispatcher)['"]*
236+
(
237+
(Updater\._{0,2}init_{0,2}\(\)\ got\ an\ )?
238+
unexpected\ keyword\ argument\ ['"]*(use_context|token|use_controls|dispatcher)['"]*
239+
)|(
240+
updater\.(idle\(\)|dispatcher)
241+
)|(
242+
dispatcher.add_handler\(
243+
)
238244
""",
239245
flags=re.VERBOSE,
240246
)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp