Skip to content

Instantly share code, notes, and snippets.

View ryanhinkel's full-sized avatar

Ryan Hinkel ryanhinkel

View GitHub Profile
"""
In the following example, we can pretend that A and B are both classes that are provided by another framework or library
"""
class A:
cheetahs = "are fast"
def __getattr__(self, attr):
print("A is the getter")
if attr == "donuts":

Keybase proof

I hereby claim:

  • I am ryanhinkel on github.
  • I am ryanhinkel (https://keybase.io/ryanhinkel) on keybase.
  • I have a public key ASBST13IbbXUirG_2fcejf-vIrfw_4Wo2RDMwmlJnW7NaQo

To claim this, I am signing this object: