torch_ecg.utils.nildent

torch_ecg.utils.nildent(text: str) str[source]

Kill all leading white spaces in each line of text, while keeping all lines (including empty)

Parameters:

text (str) – Text to be processed.

Returns:

Processed text.

Return type:

str