def socket(*args, **kwargs):
 return _SocketDecorator()(*args, **kwargs)

def socket ( * args , ** kwargs ) : return _SocketDecorator ( ) ( * args , ** kwargs )
decorator for adding a socket to a function .