diff options
author | Zachary Ware <zachary.ware@gmail.com> | 2014-08-08 13:35:11 -0500 |
---|---|---|
committer | Zachary Ware <zachary.ware@gmail.com> | 2014-08-08 13:35:11 -0500 |
commit | 1810c3916fc87d4cd7d4c0dae810cc789e78c029 (patch) | |
tree | 8e277579f6c96d3c1d50b5d9c2e071d0177e8859 /Lib/ctypes | |
parent | 99d441aeb15811da0be771d0c72e16a1705c11ad (diff) | |
parent | 39b6661075733cc36a335a09c735d09aa15618d5 (diff) | |
download | cpython-1810c3916fc87d4cd7d4c0dae810cc789e78c029.tar.gz |
Closes #22060: Merge with 3.4
Diffstat (limited to 'Lib/ctypes')
-rw-r--r-- | Lib/ctypes/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/ctypes/__init__.py b/Lib/ctypes/__init__.py index e34c646e2d..785bd18870 100644 --- a/Lib/ctypes/__init__.py +++ b/Lib/ctypes/__init__.py @@ -353,7 +353,7 @@ class CDLL(object): self._handle = handle def __repr__(self): - return "<%s '%s', handle %x at %x>" % \ + return "<%s '%s', handle %x at %#x>" % \ (self.__class__.__name__, self._name, (self._handle & (_sys.maxsize*2 + 1)), id(self) & (_sys.maxsize*2 + 1)) |