|
|
@@ -195,7 +195,7 @@ Two forms of conditional generator expressions are supported:
|
|
|
if ``condition`` is ``0``. Any other value for ``condition`` results in an
|
|
|
error.
|
|
|
|
|
|
- .. versionadded:: 3.28
|
|
|
+ .. versionadded:: 3.28
|
|
|
|
|
|
This generator expression short-circuits such that generator expressions in
|
|
|
``false_string`` will not evaluate when ``condition`` is ``1``, and generator
|
|
|
@@ -258,7 +258,7 @@ The common boolean logic operators are supported:
|
|
|
``condition`` must be ``0`` or ``1``. The result of the expression is
|
|
|
``0`` if ``condition`` is ``1``, else ``1``.
|
|
|
|
|
|
- .. versionadded:: 3.28
|
|
|
+.. versionadded:: 3.28
|
|
|
|
|
|
Logical operators short-circuit such that generator expressions in the
|
|
|
arguments list will not be evaluated once a return value can be determined.
|