Fix `api_format_docstring`

This commit is contained in:
vfbd 2022-08-08 14:21:50 -04:00
parent ddda981436
commit a93087aecd
1 changed files with 1 additions and 1 deletions

View File

@ -428,7 +428,7 @@ def new_make_min_max_attributes(validators, min_attr, max_attr) -> dict:
make_min_max_attributes.__code__ = new_make_min_max_attributes.__code__
def api_format_docstring(f):
f.__doc__ = eval('f"""{}"""'.format(f.__doc__))
f.__doc__ = eval('f"""{}"""'.format(f.__doc__.replace("\\", "\\\\")))
return f
def api_catch_out_of_memory_errors(f):