diff options
author | Thomas Heller <theller@ctypes.org> | 2007-07-12 13:55:37 (GMT) |
---|---|---|
committer | Thomas Heller <theller@ctypes.org> | 2007-07-12 13:55:37 (GMT) |
commit | f7c6d868325b999c32ec759934eac7a96c4b56fd (patch) | |
tree | c19cec947889cd221e2a24e342744ab0b9844b92 /Lib | |
parent | a1884664ebef66fab69a54239e377d743a6a818f (diff) | |
download | cpython-f7c6d868325b999c32ec759934eac7a96c4b56fd.zip cpython-f7c6d868325b999c32ec759934eac7a96c4b56fd.tar.gz cpython-f7c6d868325b999c32ec759934eac7a96c4b56fd.tar.bz2 |
Use a unicode string as unique_key instead of 8-bit string.
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/ctypes/test/test_objects.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/ctypes/test/test_objects.py b/Lib/ctypes/test/test_objects.py index 4c7441c..83a8e1b 100644 --- a/Lib/ctypes/test/test_objects.py +++ b/Lib/ctypes/test/test_objects.py @@ -22,7 +22,7 @@ assigned from Python must be kept. >>> array[4] = 'foo bar' >>> array._objects -{s'4': b'foo bar'} +{'4': b'foo bar'} >>> array[4] s'foo bar' >>> @@ -47,9 +47,9 @@ of 'x' ('_b_base_' is either None, or the root object owning the memory block): >>> x.array[0] = 'spam spam spam' >>> x._objects -{s'0:2': b'spam spam spam'} +{'0:2': b'spam spam spam'} >>> x.array._b_base_._objects -{s'0:2': b'spam spam spam'} +{'0:2': b'spam spam spam'} >>> ''' |