Created
March 11, 2015 13:52
-
-
Save scythargon/aaa64512ba057c93206b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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