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: | 379 |
Nodes: | 16 (2 / 14) |
Uptime: | 68:55:58 |
Calls: | 8,084 |
Calls today: | 2 |
Files: | 13,069 |
Messages: | 5,849,612 |