I finally do not have an idea how to replace:
Handler <function mangle_docstrings at 0x7fa9a393e3e0> for event 'autodoc-process-docstring' threw an exception (exception: 'FullArgSpec' object has no attribute 'replace')
which you can find in the latest build log in Salsa CI.
tl;dr: replace the body of the try block with this:
argspec = inspect.signature(inspect.getframeinfo)
argspec = str(argspec).replace('*', '\\*')
signature = '%s%s' % (func_name, argspec)
Should that not use "func" instead of "inspect.getframeinfo"?
Le 20/01/2023 à 16:21, FC Stegerman a écrit :
Should that not use "func" instead of "inspect.getframeinfo"?
Yes of course! I tested in a terminal to give valid code and forgot to replace my example function with the original variable name. Thanks!
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 481 |
Nodes: | 16 (2 / 14) |
Uptime: | 29:23:42 |
Calls: | 9,544 |
Calls today: | 4 |
Files: | 13,656 |
Messages: | 6,140,785 |