@decorators

Tor Iver Wilhelmsen tor.iver.wilhelmsen at broadpark.no
Fri Aug 6 11:27:05 EDT 2004


"Neil Hodgson" <nhodgson at bigpond.net.au> writes:

>    global x
>    x = 9

I think what he meant was that the decorators in effect make for
"hidden continuation", e.g.

@foo
def fooDecorated():
    pass

is like

@foo def fooDecorated():
    pass:

when other line continuations are explicit.



More information about the Python-list mailing list