From 298b05ec657e1c2a91036b9845fabb59c56ad049 Mon Sep 17 00:00:00 2001 From: inactivist Date: Thu, 14 Feb 2013 07:34:22 -0800 Subject: [PATCH] Fixing typo in previous commit (__repr__ misnamed.) --- tweepy/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) -- 2.25.1