Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #100438
| From | Chris Angelico <rosuav@gmail.com> |
|---|---|
| Newsgroups | comp.lang.python |
| Subject | Re: Try: rather than if : |
| Date | 2015-12-15 10:51 +1100 |
| Message-ID | <mailman.4.1450137117.22044.python-list@python.org> (permalink) |
| References | <CALyJZZViT33d8iob-5PoYnJOdPU2RzSzt3YAic_GRaAxN+wE1A@mail.gmail.com> <20151214231420.GA20631@cskk.homeip.net> <CALyJZZWn-UJPkMtNOBX9YcvAmWgA4qTo7_LwhHjciwevmrn1xw@mail.gmail.com> |
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
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: Try: rather than if : Chris Angelico <rosuav@gmail.com> - 2015-12-15 10:51 +1100
csiph-web