extensions: improve language for wrapfunction() docstring. stable
authorDan Villiom Podlaski Christiansen <danchr@gmail.com>
Fri, 09 Jul 2010 11:13:45 +0200
branchstable
changeset 11520 94b3bbc886cf
parent 11519 bbdf1fb1d3e3
child 11521 3efadce5b346
extensions: improve language for wrapfunction() docstring.
mercurial/extensions.py
--- a/mercurial/extensions.py	Fri Jul 09 10:57:57 2010 +0200
+++ b/mercurial/extensions.py	Fri Jul 09 11:13:45 2010 +0200
@@ -138,8 +138,8 @@
 def wrapfunction(container, funcname, wrapper):
     '''Wrap the function named funcname in container
 
-    It is replacing with your wrapper. The container is typically a
-    module, class, or instance.
+    Replace the funcname member in the given container with the specified
+    wrapper. The container is typically a module, class, or instance.
 
     The wrapper will be called like