Mercurial > hg
comparison tests/md5sum.py @ 45146:a0791bfd9cfa
util: enhance `nullcontextmanager` to be able to return __enter__ result
This makes its functionality and signature equivalent to Python 3.7’s
contextlib.nullcontext().
author | Manuel Jacob <me@manueljacob.de> |
---|---|
date | Thu, 16 Jul 2020 23:49:04 +0200 |
parents | 2372284d9457 |
children | c102b704edb5 |
comparison
equal
deleted
inserted
replaced
45145:aea246bc04bd | 45146:a0791bfd9cfa |
---|