def __new__(_cls, *args, **kwargs):
if len(args) == <NUM_LIT:1> and isinstance(args[<NUM_LIT:0>], Callable)and not isinstance(args[<NUM_LIT:0>], dom_tag) and not kwargs:<EOL><INDENT>wrapped = args[<NUM_LIT:0>]<EOL>@wraps(wrapped)<EOL>def f(*args, **kwargs):<EOL><INDENT>with _cls() as _tag:<EOL><INDENT>return wrapped(*args, **kwargs) or _tag<EOL><DEDENT><DEDENT>return f<EOL><DEDENT>return object.__new__(_cls)<EOL>
Check if bare tag is being used a a decorator.
decorate the function and return