diff options
author | Gregory P. Smith <greg@mad-scientist.com> | 2008-09-06 21:34:51 (GMT) |
---|---|---|
committer | Gregory P. Smith <greg@mad-scientist.com> | 2008-09-06 21:34:51 (GMT) |
commit | 0a608fdaac5b4422b9ade6ec7b44182902f2f9ce (patch) | |
tree | 80f50c009d21accfd42b8a736ce9761370169995 /PC | |
parent | 7e958d1ceb0b92fa7bace7040ce042474d3ea510 (diff) | |
download | cpython-0a608fdaac5b4422b9ade6ec7b44182902f2f9ce.zip cpython-0a608fdaac5b4422b9ade6ec7b44182902f2f9ce.tar.gz cpython-0a608fdaac5b4422b9ade6ec7b44182902f2f9ce.tar.bz2 |
fixes deferred/release blocker issue #3797: Fixed the dbm, marshal, mmap,
ossaudiodev, & winreg modules to return bytes objects instead of bytearray
objects.
Diffstat (limited to 'PC')
-rw-r--r-- | PC/winreg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/PC/winreg.c b/PC/winreg.c index 1536e17..7d1d816 100644 --- a/PC/winreg.c +++ b/PC/winreg.c @@ -896,7 +896,7 @@ Reg2Py(BYTE *retDataBuf, DWORD retDataSize, DWORD typ) obData = Py_None; } else - obData = PyByteArray_FromStringAndSize( + obData = PyBytes_FromStringAndSize( (char *)retDataBuf, retDataSize); break; } |