mirror of
https://github.com/not-kennethreitz/dream-python.git
synced 2026-06-05 07:06:12 +00:00
Update readme.md
This commit is contained in:
+1
-1
@@ -25,7 +25,7 @@ On bounding a variable between a min and a max
|
||||
```
|
||||
x = -3 |> x <| 5
|
||||
# would be equal to:
|
||||
x = max(min(x, 5), -3)
|
||||
x = min(max(x, -3), 5)
|
||||
|
||||
# other approaches
|
||||
x = -3 | x | 5
|
||||
|
||||
Reference in New Issue
Block a user