[PATCH 2 of 3] extensions: improve language for wrapfunction() docstring
Dan Villiom Podlaski Christiansen
danchr at gmail.com
Fri Jul 9 04:24:41 CDT 2010
# HG changeset patch
# User Dan Villiom Podlaski Christiansen <danchr at gmail.com>
# Date 1278666825 -7200
# Node ID a62edd2d93a439a55893038fcde793b95ca2bfec
# Parent 817c6e343c91793150d34309924543446f012136
extensions: improve language for wrapfunction() docstring.
diff --git a/mercurial/extensions.py b/mercurial/extensions.py
--- a/mercurial/extensions.py
+++ b/mercurial/extensions.py
@@ -138,8 +138,8 @@ def wrapcommand(table, command, wrapper)
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
More information about the Mercurial-devel
mailing list