parent
e1e89091d1
commit
174fc47b78
@ -255,6 +255,8 @@ You can still try but prepare to be disappointed.
|
||||
|
||||
* fixed invalid spacing of dots in relative imports (#6, #13)
|
||||
|
||||
* fixed spurious space in parenthesized set expressions (#7)
|
||||
|
||||
|
||||
### 18.3a0
|
||||
|
||||
|
1
black.py
1
black.py
@ -895,6 +895,7 @@ def whitespace(leaf: Leaf) -> str:
|
||||
syms.or_test,
|
||||
syms.and_test,
|
||||
syms.arith_expr,
|
||||
syms.expr,
|
||||
syms.shift_expr,
|
||||
syms.yield_expr,
|
||||
syms.term,
|
||||
|
@ -106,6 +106,8 @@
|
||||
b = 1,
|
||||
c = 1
|
||||
d = (1,) + a + (2,)
|
||||
what_is_up_with_those_new_coord_names = (coord_names + set(vars_to_create)) + set(vars_to_remove)
|
||||
what_is_up_with_those_new_coord_names = (coord_names | set(vars_to_create)) - set(vars_to_remove)
|
||||
|
||||
|
||||
def gen():
|
||||
@ -228,6 +230,12 @@ async def f():
|
||||
b = 1,
|
||||
c = 1
|
||||
d = (1,) + a + (2,)
|
||||
what_is_up_with_those_new_coord_names = (coord_names + set(vars_to_create)) + set(
|
||||
vars_to_remove
|
||||
)
|
||||
what_is_up_with_those_new_coord_names = (coord_names | set(vars_to_create)) - set(
|
||||
vars_to_remove
|
||||
)
|
||||
|
||||
|
||||
def gen():
|
||||
|
Loading…
Reference in New Issue
Block a user