The devel branch now contains PR #3713
<https://github.com/leo-editor/leo-editor/pull/3713>.
This branch uses the *:= operator* to convert the pattern:
m = <something, usually an regex pattern>
if m:
<code>
to:
if m := <something, usually an regex pattern>
<code>
These changes should be safe:
- I converted the code using regex patterns and have carefully reviewed the
diffs.
- The legacy and new code bind m in the same way, so (for example) a
following "else" clause will always work as before.
- I have been using the code without problems. All unit tests pass.
Please report any problems :-)
Edward
--
You received this message because you are subscribed to the Google Groups
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/leo-editor/2a86156f-153c-4049-85d5-e0d0f3e12f8fn%40googlegroups.com.