Skip to content

Commit

Permalink
Wrong variable name for shorthand ternary example (#188)
Browse files Browse the repository at this point in the history
  • Loading branch information
shchypylov authored and yasoob committed Dec 26, 2018
1 parent 05551b4 commit b25d0bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ternary_operators.rst
Expand Up @@ -95,7 +95,7 @@ This is helpful in case where you quickly want to check for the output of a func

.. code:: python
>>> func_output = None
>>> output = None
>>> msg = output or "No data returned"
>>> print(msg)
No data returned
Expand Down

0 comments on commit b25d0bf

Please sign in to comment.