Mercurial > hg
comparison mercurial/bdiff.c @ 51799:1888846a1ee2
typing: fix the hint for the `mode` argument of `platform.copymode()`
The posix module is doing a bitwise AND with this and an integer, so it can't be
bytes. The only caller that provides the argument is `util.mktempcopy()`, and
pytype infers the type as Any, which explains why this wasn't caught.
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Sat, 10 Aug 2024 14:18:44 -0400 |
parents | d4ba4d51f85f |
children |
comparison
equal
deleted
inserted
replaced
51797:2f8e7e384178 | 51799:1888846a1ee2 |
---|