Created
December 23, 2013 14:40
-
-
Save xiangzhuyuan/8098216 to your computer and use it in GitHub Desktop.
尼瑪凡是讓我看不懂的代碼就是壞代碼!
This file contains 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 FakeRoot(object): | |
thrift_spec = ((0, 'XXX', 'xxx', (123, 123), None, ), 1) | |
a = FakeRoot() | |
print a.thrift_spec[0][1] | |
print a.thrift_spec[1] | |
print type(a.thrift_spec) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment