File: fallbacks.py

package info (click to toggle)
python-tld 0.13-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,008 kB
  • sloc: python: 12,972; sh: 119; makefile: 19
file content (11 lines) | stat: -rw-r--r-- 181 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
from functools import wraps

__all__ = ("profile",)


def profile(func):
    @wraps(func)
    def wrapped(*args, **kwargs):
        return func(*args, **kwargs)

    return wrapped