Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #100438 > unrolled thread

Re: Try: rather than if :

Started byChris Angelico <rosuav@gmail.com>
First post2015-12-15 10:51 +1100
Last post2015-12-15 10:51 +1100
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Try: rather than if : Chris Angelico <rosuav@gmail.com> - 2015-12-15 10:51 +1100

#100438 — Re: Try: rather than if :

FromChris Angelico <rosuav@gmail.com>
Date2015-12-15 10:51 +1100
SubjectRe: Try: rather than if :
Message-ID<mailman.4.1450137117.22044.python-list@python.org>
On Tue, Dec 15, 2015 at 10:48 AM, Vincent Davis
<vincent@vincentdavis.net> wrote:
> try:
>     write = handel.write
> except AttributeError:
>     raise

Just "write = handel.write" :)

ChrisA

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web