Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #68576 > unrolled thread
| Started by | Peter Otten <__peter__@web.de> |
|---|---|
| First post | 2014-03-20 14:04 +0100 |
| Last post | 2014-03-20 14:04 +0100 |
| 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: Decorator Peter Otten <__peter__@web.de> - 2014-03-20 14:04 +0100
| From | Peter Otten <__peter__@web.de> |
|---|---|
| Date | 2014-03-20 14:04 +0100 |
| Subject | Re: Decorator |
| Message-ID | <mailman.8299.1395320689.18130.python-list@python.org> |
Dave Angel wrote: > Peter Otten <__peter__@web.de> Wrote in message: > >> >> In your code change >> >> fib1 = isOddMy(fib) >> >> to >> >> fib = isOddMy(fib) >> >> and the without@ version will produce the same output as the with@ >> version. >> >> > > I expect that one more thing is needed, since the above is inside > a function: > > global fib > fib = isOdd (fib) Yes, sorry, I missed that.
Back to top | Article view | comp.lang.python
csiph-web