From: W. Trevor King Date: Tue, 3 Aug 2010 17:03:47 +0000 (-0400) Subject: Fix swapped docstrings for CurvePlugin's DifferenceCommand and DerivativeCommand X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c300767fc8290004091c3cac9e9f3069404de0fa;p=hooke.git Fix swapped docstrings for CurvePlugin's DifferenceCommand and DerivativeCommand --- diff --git a/hooke/plugin/curve.py b/hooke/plugin/curve.py index b517c0b..7621fc7 100644 --- a/hooke/plugin/curve.py +++ b/hooke/plugin/curve.py @@ -172,11 +172,7 @@ True if you want the column-naming header line. f.close() class DifferenceCommand (Command): - """Calculate the derivative (actually, the discrete differentiation) - of a curve data block. - - See :func:`hooke.util.calculus.derivative` for implementation - details. + """Calculate the difference between two blocks of data. """ def __init__(self, plugin): super(DifferenceCommand, self).__init__( @@ -213,7 +209,11 @@ Column of data block to differentiate. outqueue.put(out) class DerivativeCommand (Command): - """Calculate the difference between two blocks of data. + """Calculate the derivative (actually, the discrete differentiation) + of a curve data block. + + See :func:`hooke.util.calculus.derivative` for implementation + details. """ def __init__(self, plugin): super(DerivativeCommand, self).__init__(