summaryrefslogtreecommitdiff
path: root/lib/uzlib/defl_static.c
diff options
context:
space:
mode:
authorJim Mussared <jim.mussared@gmail.com>2023-06-26 23:53:12 +1000
committerDamien George <damien@micropython.org>2023-07-21 18:49:03 +1000
commit198311c780e9e05a58c710d73a22abaf8347d4ee (patch)
tree7fa2b8b220776b8f715c8880b2b71600274a921c /lib/uzlib/defl_static.c
parentadd1200343e59774d2b168cc2ff1ab8ae5660489 (diff)
py/stream: Add mp_stream___exit___obj that calls mp_stream_close.
There are enough places that implement __exit__ by forwarding directly to mp_stream_close that this saves code size. For the cases where __exit__ is a no-op, additionally make their MP_STREAM_CLOSE ioctl handled as a no-op. This work was funded through GitHub Sponsors. Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
Diffstat (limited to 'lib/uzlib/defl_static.c')
0 files changed, 0 insertions, 0 deletions