Fix typo in User.__str__
authorHarmon <Harmon758@gmail.com>
Thu, 27 May 2021 09:52:18 +0000 (04:52 -0500)
committerHarmon <Harmon758@gmail.com>
Thu, 27 May 2021 09:52:18 +0000 (04:52 -0500)
Fixes #1592

tweepy/user.py

index 2a6afd2e8b689787371a9422204ae8aabe0fea47..844a901cf5d45ac4563eefdc539ecd916d5d6cb7 100644 (file)
@@ -45,5 +45,5 @@ class User(HashableID, DataMapping):
     def __repr__(self):
         return f"<User id={self.id} name={self.name} username={self.username}>"
 
-    def __str__(Self):
+    def __str__(self):
         return self.username