Mercurial > public > mercurial-scm > hg-stable
diff mercurial/interfaces/types.py @ 52762:fecda9f44e57
interfaces: minor documentation tweaks to the `types` module
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Thu, 06 Feb 2025 20:03:57 -0500 |
parents | 5c48fd4c0e68 |
children | 2a5450ecde20 |
line wrap: on
line diff
--- a/mercurial/interfaces/types.py Thu Feb 06 14:58:10 2025 -0500 +++ b/mercurial/interfaces/types.py Thu Feb 06 20:03:57 2025 -0500 @@ -7,7 +7,7 @@ # # The general principle can be summarized when dealing with <FooBar> object: # - to type your code: use FooBarT from `mercurial.interface.types` -# - to implement foobar: use IFoorbar from `mercurial.interface.foo_bar` +# - to subclass <FooBar>: use IFooBar from `mercurial.interface.foo_bar` from __future__ import annotations