comparison mercurial/interfaces/repository.py @ 52476:0c60be5e021a

interfaces: fix a doc comment in `repository.imanifestrevisionstored.find()`
author Matt Harbison <matt_harbison@yahoo.com>
date Tue, 10 Dec 2024 21:38:34 -0500
parents cdd4bc69bfc1
children d01af74e67b4
comparison
equal deleted inserted replaced
52475:cdd4bc69bfc1 52476:0c60be5e021a
1265 The faster of the two options is called. 1265 The faster of the two options is called.
1266 """ 1266 """
1267 1267
1268 @abc.abstractmethod 1268 @abc.abstractmethod
1269 def find(self, key: bytes) -> tuple[bytes, bytes]: 1269 def find(self, key: bytes) -> tuple[bytes, bytes]:
1270 """Calls self.read().find(key)``. 1270 """Calls ``self.read().find(key)``.
1271 1271
1272 Returns a 2-tuple of ``(node, flags)`` or raises ``KeyError``. 1272 Returns a 2-tuple of ``(node, flags)`` or raises ``KeyError``.
1273 """ 1273 """
1274 1274
1275 1275