aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/py24compat.py
blob: c5d7d2045de04e89125a2d40b1dc87f4feb926a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
"""
Forward-compatibility support for Python 2.4 and earlier
"""

# from jaraco.compat 1.2
try:
    from functools import wraps
except ImportError:
    def wraps(func):
        "Just return the function unwrapped"
        return lambda x: x