mirror of
https://github.com/micropython/micropython.git
synced 2026-01-06 20:20:14 +01:00
top: Update Python formatting to black "2023 stable style".
See https://black.readthedocs.io/en/stable/the_black_code_style/index.html Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
This commit is contained in:
@@ -29,6 +29,7 @@ elif platform.python_version_tuple()[0] == "3":
|
||||
|
||||
# end compatibility code
|
||||
|
||||
|
||||
# given a list of (name,regex) pairs, find the first one that matches the given line
|
||||
def re_match_first(regexs, line):
|
||||
for name, regex in regexs:
|
||||
|
||||
Reference in New Issue
Block a user