From: inactivist Date: Thu, 14 Feb 2013 15:34:22 +0000 (-0800) Subject: Fixing typo in previous commit (__repr__ misnamed.) X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=298b05ec657e1c2a91036b9845fabb59c56ad049;p=tweepy.git Fixing typo in previous commit (__repr__ misnamed.) --- diff --git a/tweepy/models.py b/tweepy/models.py index 0039e3d..6a08bdd 100644 --- a/tweepy/models.py +++ b/tweepy/models.py @@ -39,7 +39,7 @@ class Model(object): results.append(cls.parse(api, obj)) return results - def model__repr__(self): + def __repr__(self): state = ['%s=%s' % (k, repr(v)) for (k,v) in vars(self).items()] return '%s(%s)' % (self.__class__.__name__, ', '.join(state))