wireproto: fix incorrect function name in docstring
authorConnor Sheehan <sheehan@mozilla.com>
Sun, 14 Oct 2018 03:42:43 -0400
changeset 40279 4821affc154f
parent 40278 125fc478719f
child 40280 170cd2a5a1da
wireproto: fix incorrect function name in docstring The docstring for `iwireprotocolcommandcacher` references an `onoutputfinished` method. The actual name of the function is `onfinished`. Differential Revision: https://phab.mercurial-scm.org/D5090
mercurial/repository.py
--- a/mercurial/repository.py	Sat Oct 13 15:32:52 2018 +0000
+++ b/mercurial/repository.py	Sun Oct 14 03:42:43 2018 -0400
@@ -1713,7 +1713,7 @@
     8. The command function is invoked.
     9. ``onobject()`` is called for each object emitted by the command
        function.
-    10. After the final object is seen, ``onoutputfinished()`` is called.
+    10. After the final object is seen, ``onfinished()`` is called.
     11. ``__exit__`` is called to signal the end of use of the instance.
 
     Cache *key* derivation can be influenced by the instance.
@@ -1748,7 +1748,7 @@
 
     Implementations could also choose to not emit objects - instead locally
     buffering objects or their encoded representation. They could then emit
-    a single "coalesced" object when ``onoutputfinished()`` is called. In
+    a single "coalesced" object when ``onfinished()`` is called. In
     this way, the implementation would function as a filtering layer of
     sorts.