dedent
Remove indentation.
def dedent(
s: string,
sep: string = \n
) - > string
Remove indentation.
Parameters
| Name | Type | Description |
|---|---|---|
| s | string | The input string containing indented lines to be processed |
| sep | string = \n | The character or string used to join the dedented lines back together |
Returns
| Type | Description |
|---|---|
string | The processed string with leading whitespace removed from each line, rejoined using the specified separator |