mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Issue #22032: __qualname__ instead of __name__ is now always used to format
fully qualified class names of Python implemented classes.
This commit is contained in:
parent
c09e9752c6
commit
521e5860a5
16 changed files with 24 additions and 20 deletions
|
@ -255,7 +255,7 @@ class dispatcher:
|
|||
self.socket = None
|
||||
|
||||
def __repr__(self):
|
||||
status = [self.__class__.__module__+"."+self.__class__.__name__]
|
||||
status = [self.__class__.__module__+"."+self.__class__.__qualname__]
|
||||
if self.accepting and self.addr:
|
||||
status.append('listening')
|
||||
elif self.connected:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue