Skip to content

Instantly share code, notes, and snippets.

@bramses
Created August 5, 2021 21:00
Show Gist options
  • Save bramses/ae999c692decd526fa6a9d96b8933907 to your computer and use it in GitHub Desktop.
Save bramses/ae999c692decd526fa6a9d96b8933907 to your computer and use it in GitHub Desktop.
Silicon Valley Season 1, Episode 6 (15:07)
def _remove_from_parent(self,tr,path):
parent = self._find(tr, path[:-1]
del tr[parent[self.SUBDIRS][path[-1][.key0]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment