Try: rather than if :

Chris Angelico rosuav at gmail.com
Mon Dec 14 18:51:54 EST 2015


On Tue, Dec 15, 2015 at 10:48 AM, Vincent Davis
<vincent at vincentdavis.net> wrote:
> try:
>     write = handel.write
> except AttributeError:
>     raise

Just "write = handel.write" :)

ChrisA



More information about the Python-list mailing list