Mercurial > hg
diff mercurial/server.py @ 51678:0e16efe30866
typing: add a few trivial type hints to `mercurial/templater.py`
Since hg 3dbc7b1ecaba, pytype started inferring that the second value in the
tuple is `BinaryIO`, but still hasn't been able to figure out the rest of
`open_template()`. We can be more precise.
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Wed, 10 Jul 2024 18:34:47 -0400 |
parents | d44e3c45f0e4 |
children | f4733654f144 |