summaryrefslogtreecommitdiff
path: root/Lib/pdb.py
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2014-07-22 15:00:37 +0300
committerSerhiy Storchaka <storchaka@gmail.com>2014-07-22 15:00:37 +0300
commit521e5860a5c121700e6ccc5f07053d21b83652df (patch)
tree242d90c511e3fbe9f2c09073429351ab02bd7693 /Lib/pdb.py
parentc09e9752c689338efff252408f38a77683a12cb4 (diff)
downloadcpython-git-521e5860a5c121700e6ccc5f07053d21b83652df.tar.gz
Issue #22032: __qualname__ instead of __name__ is now always used to format
fully qualified class names of Python implemented classes.
Diffstat (limited to 'Lib/pdb.py')
-rwxr-xr-xLib/pdb.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/pdb.py b/Lib/pdb.py
index 42e605e682..a55012f24f 100755
--- a/Lib/pdb.py
+++ b/Lib/pdb.py
@@ -1316,7 +1316,7 @@ class Pdb(bdb.Bdb, cmd.Cmd):
return
# Is it a class?
if value.__class__ is type:
- self.message('Class %s.%s' % (value.__module__, value.__name__))
+ self.message('Class %s.%s' % (value.__module__, value.__qualname__))
return
# None of the above...
self.message(type(value))