diff --git a/README.md b/README.md index cd5f95d..92d08f3 100644 --- a/README.md +++ b/README.md @@ -782,7 +782,7 @@ from functools import reduce ### Any, All ```python = any() # Is `bool()` True for any el? - = all() # Is True for all or is it empty? + = all() # True for all? Also True if empty. ``` ### Conditional Expression diff --git a/index.html b/index.html index 6eeb2de..1ab83c4 100644 --- a/index.html +++ b/index.html @@ -54,7 +54,7 @@
- +
@@ -663,7 +663,7 @@ func(*args, **kwargs) <obj> = reduce(lambda out, x: out + x, range(10)) # Or: 45

Any, All

<bool> = any(<collection>)                          # Is `bool(<el>)` True for any el?
-<bool> = all(<collection>)                          # Is True for all or is it empty?
+<bool> = all(<collection>)                          # True for all? Also True if empty.
 

Conditional Expression

<obj> = <exp> if <condition> else <exp>             # Only one expression is evaluated.
@@ -2933,7 +2933,7 @@ $ deactivate                  # Deactivates the activ