Created
April 21, 2012 10:15
-
-
Save minikomi/2436363 to your computer and use it in GitHub Desktop.
chaining funcitons memo
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 Yo: | |
def __init__(self): | |
self.s = "" | |
def extend(self,str): | |
self.s = self.s+str | |
return self |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment