-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(layout)!: Use *= instead of =* (#45)
This is a follow up to #34 `*=` is more consistent with the other symbols, e.g. `<=`, `>=`. It is also more in line with what other programming languages do. ``` $ python Python 3.10.13 | packaged by conda-forge | (main, Oct 26 2023, 18:09:17) [Clang 16.0.6 ] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> x = 1 >>> x *= 2 >>> x 2 ``` `=*` throws an error. ``` >>> x =* 2 File "<stdin>", line 1 SyntaxError: can't use starred expression here >>> ```
- Loading branch information
Showing
3 changed files
with
6 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
format_macro_bodies = true | ||
format_macro_matchers = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters