def rect_property(self, rect):
    """Create new RectsManager from pygame.Rect.

    Parameters
    ==========

    rect (pygame.Rect instance)
        rect from which to read the size and topleft
        coordinates for the new RectsManager instance.
    """
    ### copy the rects manager and store its copy in the
    ### same attribute
    self._rects_man = RectsManager(self._rects_man._get_all_rects)

    ### transfer topleft and size values of the received
    ### rect to the copy

    self._rects_man.size = rect.size
    self._rects_man.topleft = rect.topleft
Create new RectsManager from pygame.Rect.

    Parameters
    ==========

    rect (pygame.Rect instance)
        rect from which to read the size and topleft
        coordinates for the new RectsManager instance.
    
nodezator/rectsman/main.py