summaryrefslogtreecommitdiff
path: root/Lib/codecs.py
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2014-08-10 10:41:52 -0700
committerRaymond Hettinger <python@rcn.com>2014-08-10 10:41:52 -0700
commitd4cc49f5f367f488379150588d07c7f77dc917e5 (patch)
tree97b4a85c63fe35d488668f2f3d9652231431a572 /Lib/codecs.py
parent9aebd07ac628842838a281dad04c891c410b0396 (diff)
parent7f8878040c398fac32114fb7072cfabf7f7f3fa6 (diff)
downloadcpython-d4cc49f5f367f488379150588d07c7f77dc917e5.tar.gz
merge
Diffstat (limited to 'Lib/codecs.py')
-rw-r--r--Lib/codecs.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/codecs.py b/Lib/codecs.py
index c2065dafa2..993451711a 100644
--- a/Lib/codecs.py
+++ b/Lib/codecs.py
@@ -99,8 +99,8 @@ class CodecInfo(tuple):
return self
def __repr__(self):
- return "<%s.%s object for encoding %s at 0x%x>" % \
- (self.__class__.__module__, self.__class__.__name__,
+ return "<%s.%s object for encoding %s at %#x>" % \
+ (self.__class__.__module__, self.__class__.__qualname__,
self.name, id(self))
class Codec: