pypet/annotations.py
def f_to_dict(self, copy=True):
        """Returns annotations as dictionary.

        :param copy: Whether to return a shallow copy or the real thing (aka _dict).

        """
        if copy:
            return self._dict.copy()
        else:
            return self._dict
def f_to_dict(self, copy=True):
        if copy:
            return self._dict.copy()
        else:
            return self._dict
def f_to_dict ( self , copy = True ) : if copy : return self . _dict . copy ( ) else : return self . _dict
Returns annotations as dictionary.

        :param copy: Whether to return a shallow copy or the real thing (aka _dict).
Returns annotations as dictionary .