# utils

The module contains miscellaneous helpers. It’s not considered part of the public ufoLib API.

fontTools.ufoLib.utils.deprecated(msg='')

  Decorator factory to mark functions as deprecated with given message.

      >>> @deprecated("Enough!")
      ... def some_function():
      ...    "I just print 'hello world'."
      ...    print("hello world")
      >>> some_function()
      hello world
      >>> some_function.__doc__ == "I just print 'hello world'."
      True