@@ -0,0 +1,1156 @@
+%22%22%22The module contains miscellaneous helpers.%0AIt's not considered part of the public ufoLib API.%0A%22%22%22%0Aimport warnings%0Aimport functools%0A%0A%0Adef deprecated(msg=%22%22):%0A    %22%22%22Decorator factory to mark functions as deprecated with given message.%0A%0A    %3E%3E%3E @deprecated(%22Enough!%22)%0A    ... def some_function():%0A    ...    %22I just print 'hello world'.%22%0A    ...    print(%22hello world%22)%0A    %3E%3E%3E some_function()%0A    hello world%0A    %3E%3E%3E warnings.simplefilter(%22error%22, DeprecationWarning)%0A    %3E%3E%3E some_function()%0A    Traceback (most recent call last):%0A      ...%0A    DeprecationWarning: some_function function is a deprecated. Enough!%0A    %3E%3E%3E some_function.__doc__%0A    %22I just print 'hello world'.%22%0A    %22%22%22%0A%0A    def deprecated_decorator(func):%0A        @functools.wraps(func)%0A        def wrapper(*args, **kwargs):%0A            warnings.warn(%0A                %22%7B%7D function is a deprecated. %7B%7D%22.format(func.__name__, msg),%0A                category=DeprecationWarning,%0A                stacklevel=2,%0A            )%0A            return func(*args, **kwargs)%0A%0A        return wrapper%0A%0A    return deprecated_decorator%0A%0A%0Aif __name__ == %22__main__%22:%0A    import doctest%0A%0A    doctest.testmod()%0A

add utils.py module with @deprecated decorator