Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #18729 > unrolled thread
| Started by | Chris Rebert <clp2@rebertia.com> |
|---|---|
| First post | 2012-01-09 19:44 -0800 |
| Last post | 2012-01-09 19:44 -0800 |
| 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.
Re: function problem Chris Rebert <clp2@rebertia.com> - 2012-01-09 19:44 -0800
| From | Chris Rebert <clp2@rebertia.com> |
|---|---|
| Date | 2012-01-09 19:44 -0800 |
| Subject | Re: function problem |
| Message-ID | <mailman.4573.1326167074.27778.python-list@python.org> |
On Mon, Jan 9, 2012 at 7:35 PM, contro opinion <contropinion@gmail.com> wrote: > code1: > > def FirstDeco(func): > print 'haha' > y=func() > return y > print y Since there's a `return` right before it, the latter `print` here will *never* be executed. Cheers, Chris
Back to top | Article view | comp.lang.python
csiph-web