Mercurial > hg
comparison mercurial/cffi/bdiff.py @ 46785:521ac0d7047f stable
typing: disable import error warnings that are already handled
I'm assuming that the cffi ones are handled somewhere, but the others definitely
are.
Differential Revision: https://phab.mercurial-scm.org/D10207
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Sat, 13 Mar 2021 00:38:59 -0500 |
parents | 687b865b95ad |
children | 6000f5b25c9b |
comparison
equal
deleted
inserted
replaced
46784:65f437c240f2 | 46785:521ac0d7047f |
---|---|
8 from __future__ import absolute_import | 8 from __future__ import absolute_import |
9 | 9 |
10 import struct | 10 import struct |
11 | 11 |
12 from ..pure.bdiff import * | 12 from ..pure.bdiff import * |
13 from . import _bdiff | 13 from . import _bdiff # pytype: disable=import-error |
14 | 14 |
15 ffi = _bdiff.ffi | 15 ffi = _bdiff.ffi |
16 lib = _bdiff.lib | 16 lib = _bdiff.lib |
17 | 17 |
18 | 18 |