]> granicus.if.org Git - python/commit
Add zlib_error() helper.
authorJeremy Hylton <jeremy@alum.mit.edu>
Tue, 16 Oct 2001 21:56:09 +0000 (21:56 +0000)
committerJeremy Hylton <jeremy@alum.mit.edu>
Tue, 16 Oct 2001 21:56:09 +0000 (21:56 +0000)
commit0965e084cd0fce49db3a2de4f331f013cf200dc0
treee1a25d431ad82203c9c9b7f67c6724dbd9b52236
parent2c40adb1e4d09caef9a459864598c0b2518e7c86
Add zlib_error() helper.

It sets a ZlibError exception, using the msg from the z_stream pointer
if one is available.
Modules/zlibmodule.c