diff mercurial/wireprotov1server.py @ 43881:b5655f337bd7

typing: add a couple of assertions to lrucachedict to help pytype Fixes the following warnings: line 1488, in pop: No attribute 'markempty' on None [attribute-error] In Optional[Union[Any, _lrucachenode, nothing]] line 1578, in popoldest: No attribute 'markempty' on None [attribute-error] In Optional[Union[Any, _lrucachenode, nothing]] Differential Revision: https://phab.mercurial-scm.org/D7674
author Matt Harbison <matt_harbison@yahoo.com>
date Sun, 15 Dec 2019 21:28:30 -0500
parents 1d1232c0726f
children 3d5fb6cab832
line wrap: on
line diff