Mercurial > public > mercurial-scm > hg
comparison mercurial/revlog.py @ 52645:4cb75772818d
pyupgrade: drop the quoting around type annotations
This is the `typing_pep563` fixer in `pyupgrade`. Quoting to delay evaluation
hasn't been necessary since adding `from __future__ import annotations` in
1c5810ce737e.
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Mon, 06 Jan 2025 00:30:55 -0500 |
parents | 98dcbe752dfe |
children | f19a3f1437f3 |
comparison
equal
deleted
inserted
replaced
52644:e627cc25b6f3 | 52645:4cb75772818d |
---|---|
1358 See mercurial/revlogutils/contants.py for details about the content of an | 1358 See mercurial/revlogutils/contants.py for details about the content of an |
1359 index entry. | 1359 index entry. |
1360 """ | 1360 """ |
1361 | 1361 |
1362 _flagserrorclass = error.RevlogError | 1362 _flagserrorclass = error.RevlogError |
1363 _inner: "_InnerRevlog" | 1363 _inner: _InnerRevlog |
1364 | 1364 |
1365 opener: vfsmod.vfs | 1365 opener: vfsmod.vfs |
1366 | 1366 |
1367 @staticmethod | 1367 @staticmethod |
1368 def is_inline_index(header_bytes): | 1368 def is_inline_index(header_bytes): |