diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2019-05-06 22:29:40 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-06 22:29:40 +0300 |
commit | 96aeaec64738b730c719562125070a52ed570210 (patch) | |
tree | d68994f93014d081e9a441e7bf7dfda3aaadd402 /Lib/asyncore.py | |
parent | 964663089547ca110199e23867b46b07ff4be88c (diff) | |
download | cpython-git-96aeaec64738b730c719562125070a52ed570210.tar.gz |
bpo-36793: Remove unneeded __str__ definitions. (GH-13081)
Classes that define __str__ the same as __repr__ can
just inherit it from object.
Diffstat (limited to 'Lib/asyncore.py')
-rw-r--r-- | Lib/asyncore.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Lib/asyncore.py b/Lib/asyncore.py index 828f4d4fe7..0e92be3ad1 100644 --- a/Lib/asyncore.py +++ b/Lib/asyncore.py @@ -262,8 +262,6 @@ class dispatcher: status.append(repr(self.addr)) return '<%s at %#x>' % (' '.join(status), id(self)) - __str__ = __repr__ - def add_channel(self, map=None): #self.log_info('adding channel %s' % self) if map is None: |