<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def getter_(self, fget) -> 'BaseProperty': """Add the given getter function and its docstring to the property and return it."""

        self.fget = fget
        self.set_doc(fget.__doc__)
        return self