From ea9e8481d584350996e7122feb46a2f0d4e48ba0 Mon Sep 17 00:00:00 2001 From: Alok Singhal Date: Wed, 15 Jan 2014 17:39:13 -0800 Subject: [PATCH] BUG: use the "join" string in Appender decorator The docstring for Appender decorator says that "join" parameter is used to join the docstring and addendum. This commit brings the code in line with the documentation. --- pandas/util/decorators.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandas/util/decorators.py b/pandas/util/decorators.py index d83b1eb778763..56a90b9ba1d17 100644 --- a/pandas/util/decorators.py +++ b/pandas/util/decorators.py @@ -102,7 +102,7 @@ def __call__(self, func): func.__doc__ = func.__doc__ if func.__doc__ else '' self.addendum = self.addendum if self.addendum else '' docitems = [func.__doc__, self.addendum] - func.__doc__ = ''.join(docitems) + func.__doc__ = self.join.join(docitems) return func