Skip to content

Commit ea9e848

Browse files
committed
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.
1 parent 99910a3 commit ea9e848

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/util/decorators.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ def __call__(self, func):
102102
func.__doc__ = func.__doc__ if func.__doc__ else ''
103103
self.addendum = self.addendum if self.addendum else ''
104104
docitems = [func.__doc__, self.addendum]
105-
func.__doc__ = ''.join(docitems)
105+
func.__doc__ = self.join.join(docitems)
106106
return func
107107

108108

0 commit comments

Comments
 (0)