We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a86fc6c commit 98c489cCopy full SHA for 98c489c
telegram/base.py
@@ -58,7 +58,7 @@ def to_dict(self):
58
"""
59
data = dict()
60
61
- for key, value in self.__dict__.iteritems():
+ for key, value in self.__dict__.items():
62
if value:
63
if hasattr(value, 'to_dict'):
64
data[key] = value.to_dict()
0 commit comments