Skip to content

Instantly share code, notes, and snippets.

@byroot
Created December 12, 2010 15:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save byroot/738107 to your computer and use it in GitHub Desktop.
Save byroot/738107 to your computer and use it in GitHub Desktop.
class A:
def open(self):
# code avant
self._open(self)
# code après
class B(A):
def _open(self):
pass
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment