0

Why not using Regular function to take the arguments and do the same thing as decoretor does

For instance: def wrap(args): .... def decorate(args): print 40 * '=' wrap(args) print 40 * '='

18th Oct 2016, 12:21 AM
mohsen jamali
mohsen jamali - avatar
1 Respuesta
0
Decorator are used to many functions It reduce the size
8th Nov 2016, 5:56 AM
மனோஜ்குமார் பழனிச்சாமி
மனோஜ்குமார் பழனிச்சாமி - avatar