On Wed, Aug 3, 2016 at 10:52 AM, אלעזר firstname.lastname@example.org wrote:
Date: Wed, 3 Aug 2016 09:11:42 -0700 From: Guido van Rossum email@example.com
... It would be much cleaner if you could declare the variable before the first `if`. But picking a good initializer is tricky, especially if you have a type that does not include None.
PEP-484 suggests ellipsis for this.
x = ...
already has a meaning -- it assigns x the (fairly pointless) value Ellipsis (which is a singleton object like None).