comparison mercurial/wireprotoserver.py @ 49301:e3143ab9dadb

zeroconf: constant-fold a `pycompat.ispy3` I’ve checked that both bytes and str gets passed as the `name` parameter, so the rest of the condition is still required. Because there aren’t really any tests for the extensions, I didn’t want to refactor it to pass a single type.
author Manuel Jacob <me@manueljacob.de>
date Tue, 31 May 2022 02:04:24 +0200
parents d44e3c45f0e4
children 3b199593fedd
comparison
equal deleted inserted replaced
49300:33872fec41e7 49301:e3143ab9dadb