Skip to content

Commit 88b8054

Browse files
committed
note pep584 change in README
1 parent 4178ca3 commit 88b8054

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -515,6 +515,19 @@ Availability:
515515
```
516516

517517

518+
### merge dicts using union operator (pep 584)
519+
520+
Availability:
521+
- `--py39-plus` is passed on the commandline.
522+
523+
```diff
524+
x = {"a": 1}
525+
y = {"b": 2}
526+
-z = {**x, **y}
527+
+z = x | y
528+
```
529+
530+
518531
### pep 585 typing rewrites
519532

520533
Availability:

0 commit comments

Comments
 (0)