<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def fromMathInfo(self, mathInfo, guidelines=True):
 """ Replaces the contents of this info object with the contents of ``mathInfo``. ``mathInfo`` must be an object following the `MathInfo protocol <https://github.com/typesupply/fontMath>`_. """

        return self._fromMathInfo(mathInfo, guidelines=guidelines)