Prevent separate decorators from calling on_definition each time, which causes duplicate function definitions and throws warnings of previous definitions. This problem also prevents two separate decorator modules from being included if any function in the module has a default value
The unit test will fail to compile without the included changes
Prevent separate decorators from calling on_definition each time, which causes duplicate function definitions and throws warnings of previous definitions. This problem also prevents two separate decorator modules from being included if any function in the module has a default value
The unit test will fail to compile without the included changes
Resolves https://github.com/arjan/decorator/issues/33