Skip to content

Instantly share code, notes, and snippets.

@scythargon
Created March 11, 2015 13:52
Show Gist options
  • Save scythargon/aaa64512ba057c93206b to your computer and use it in GitHub Desktop.
Save scythargon/aaa64512ba057c93206b to your computer and use it in GitHub Desktop.
class BulletProof(object):
def __getattribute__(self, name):
if name == '__class__':
return super(BulletProof, self).__getattribute__(name)
return BulletProof()
def __str__(self):
return ''
b = BulletProof()
print(b.asdas.sdgfd.gd.dfg.dfg.gdfhgftg.h.dfgfgh)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment