Created
August 6, 2015 16:24
-
-
Save notsobad/58886316c30c2b13806f 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 FakeClass(): | |
def __getattr__(self, key): | |
def f(*args, **kwargs): | |
return | |
return f | |
f = FakeClass() | |
f.log('xxx', k1="xxxxx") | |
f.test('yyy', 'zzzz') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment