Created
July 13, 2013 01:28
-
-
Save introom/5989008 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 BaseProtocol: | |
| _tramp = TrampolinedGrammarInterpreter | |
| def blablahh: | |
| pass | |
| def dataReceived(self, data): | |
| """ | |
| Do some stuff here. | |
| """ | |
| class IntNStringReceiver(BaseProtocol): | |
| def dataReceived(self): | |
| """ | |
| According to the implementation of IntNStringReceiver, | |
| we have to overwrite dataReceived | |
| """ | |
| # Approach 2 | |
| # in the recent commit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment