##// END OF EJS Templates
mail: add type hints for pytype...
mail: add type hints for pytype We essentially annotate functions in which handling of bytes/str is not obvious in order to hopefully clear things out. See also changeset 2ade00f3b03b introducing typing hints in Mercurial. Most types are straightforward but a few is wrong, and we need to either disable pytype on respective instructions or use wrong annotations. These will be fixed in next changesets. Notice the type Union[bytes, str] of "s" parameter of headencode(), this reflects how email.header.Header.append() behaves.
Denis Laxalde -
r44024:8d9e2c2b default
Show More
Name Size Modified Last Commit Author
/ contrib / python-zstandard / zstd / compress
fse_compress.c Loading ...
hist.c Loading ...
hist.h Loading ...
huf_compress.c Loading ...
zstd_compress.c Loading ...
zstd_compress_internal.h Loading ...
zstd_compress_literals.c Loading ...
zstd_compress_literals.h Loading ...
zstd_compress_sequences.c Loading ...
zstd_compress_sequences.h Loading ...
zstd_double_fast.c Loading ...
zstd_double_fast.h Loading ...
zstd_fast.c Loading ...
zstd_fast.h Loading ...
zstd_lazy.c Loading ...
zstd_lazy.h Loading ...
zstd_ldm.c Loading ...
zstd_ldm.h Loading ...
zstd_opt.c Loading ...
zstd_opt.h Loading ...
zstdmt_compress.c Loading ...
zstdmt_compress.h Loading ...