![]() |
Available news archives:
comp.lang.tcl
-
comp.lang.python
-
comp.security.firewalls
-
sci.crypt -
comp.lang.php -
comp.lang.javascript
|
|
comp.lang.python archiveRe: "no variable or argument declarations are necessary."
From: Fredrik Lundh <fredrik@pythonware.com>
Date: Thu Oct 06 2005 - 21:31:19 CEST
Ron Adam wrote:
> Is there a way to conditionally decorate? For example if __debug__ is
the decorator is a callable, so you can simply do, say
from somewhere import debugdecorator
if not __debug__:
or
def debugdecorator(func):
etc.
</F>
|