def _maybe_update_cacher(self, clear=False, verify_is_copy=True):
    '\n        See if we need to update our parent cacher if clear, then clear our\n        cache.\n\n        Parameters\n        ----------\n        clear : boolean, default False\n            clear the item cache\n        verify_is_copy : boolean, default True\n            provide is_copy checks\n\n        '
    cacher = getattr(self, '_cacher', None)
    if (cacher is not None):
        ref = cacher[1]()
        if (ref is None):
            del self._cacher
        else:
            try:
                ref._maybe_cache_changed(cacher[0], self)
            except Exception:
                pass
    if verify_is_copy:
        self._check_setitem_copy(stacklevel=5, t='referant')
    if clear:
        self._clear_item_cache()
See if we need to update our parent cacher if clear, then clear our
cache.

Parameters
----------
clear : boolean, default False
    clear the item cache
verify_is_copy : boolean, default True
    provide is_copy checks
def _maybe_update_cacher(self, clear=False, verify_is_copy=True):
    '\n        See if we need to update our parent cacher if clear, then clear our\n        cache.\n\n        Parameters\n        ----------\n        clear : boolean, default False\n            clear the item cache\n        verify_is_copy : boolean, default True\n            provide is_copy checks\n\n        '
    cacher = getattr(self, '_cacher', None)
    if (cacher is not None):
        ref = cacher[1]()
        if (ref is None):
            del self._cacher
        else:
            try:
                ref._maybe_cache_changed(cacher[0], self)
            except Exception:
                pass
    if verify_is_copy:
        self._check_setitem_copy(stacklevel=5, t='referant')
    if clear:
        self._clear_item_cache()