We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fb1de3a commit d266121Copy full SHA for d266121
nerve/cli/ns.py
@@ -20,6 +20,7 @@ def print_namespaces() -> None:
20
for name, func in inspect.getmembers(module, inspect.isfunction):
21
if name[0] != "_" and func.__module__ == module.__name__:
22
doc = func.__doc__ or ""
23
- print(f"| `{name}` | <pre>{doc.strip().replace('\n', '<br>')}</pre> |")
+ doc = doc.strip().replace("\n", "<br>")
24
+ print(f"| `{name}` | <pre>{doc}</pre> |")
25
26
print("")
0 commit comments