diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2006-08-02 13:53:55 +0000 |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2006-08-02 13:53:55 +0000 |
commit | 961b91bd3c48af639acbf20bbf15a85e7152ff6e (patch) | |
tree | 4431b108f80ee972a2796bee6272523d1560d200 /Modules/_codecsmodule.c | |
parent | 5c387f2e5d4f21f9e8104d4d5410fc1fd91fa7e9 (diff) | |
download | cpython-git-961b91bd3c48af639acbf20bbf15a85e7152ff6e.tar.gz |
Correction of patch #1455898: In the mbcs decoder, set final=False
for stream decoder, but final=True for the decode function.
Diffstat (limited to 'Modules/_codecsmodule.c')
-rw-r--r-- | Modules/_codecsmodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_codecsmodule.c b/Modules/_codecsmodule.c index 6d384b7d40..405fd7a29a 100644 --- a/Modules/_codecsmodule.c +++ b/Modules/_codecsmodule.c @@ -481,7 +481,7 @@ mbcs_decode(PyObject *self, const char *data; Py_ssize_t size, consumed; const char *errors = NULL; - int final = 1; + int final = 0; PyObject *decoded; if (!PyArg_ParseTuple(args, "t#|zi:mbcs_decode", |