Mercurial > hg
changeset 52174:9fbdf355c916
fncachestore: add typing information
This helps with autocomplete.
author | Raphaël Gomès <rgomes@octobus.net> |
---|---|
date | Mon, 29 Jul 2024 20:34:38 +0200 |
parents | ba9df4e6abb8 |
children | bd43465af568 |
files | mercurial/store.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/store.py Mon Jul 29 20:34:06 2024 +0200 +++ b/mercurial/store.py Mon Jul 29 20:34:38 2024 +0200 @@ -1120,7 +1120,7 @@ class _fncachevfs(vfsmod.proxyvfs): def __init__(self, vfs, fnc, encode): vfsmod.proxyvfs.__init__(self, vfs) - self.fncache = fnc + self.fncache: fncache = fnc self.encode = encode def __call__(self, path, mode=b'r', *args, **kw):