changeset 11520:94b3bbc886cf stable

extensions: improve language for wrapfunction() docstring.
author Dan Villiom Podlaski Christiansen <danchr@gmail.com>
date Fri, 09 Jul 2010 11:13:45 +0200
parents bbdf1fb1d3e3
children 3efadce5b346
files mercurial/extensions.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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