diff --git a/src/widget_code_input/utils.py b/src/widget_code_input/utils.py index 6670075..6af837c 100644 --- a/src/widget_code_input/utils.py +++ b/src/widget_code_input/utils.py @@ -50,7 +50,7 @@ def build_pre_body(signature, docstring, indent_level=4): return "{}\n{}".format( signature, - prepend_indent('' if docstring is None else '"""{}"""'.format(docstring), + prepend_indent('' if docstring is None else docstring, indent_level=indent_level), )