Closed
Description
I think there is small bug in the Appender
class in docstring.py module?
# version with error
def __call__(self, func):
docitems = [func.__doc__, self.addendum]
func.__doc__ = func.__doc__ and ''.join(docitems) # <- here is there error
return func
# corrected version
def __call__(self, func):
docitems = [func.__doc__, self.addendum]
func.__doc__ = func.__doc__ and self.join.join(docitems) # corrected version
return func
I have tested the corrected version and my correction works as expected.
Metadata
Metadata
Assignees
Labels
No labels