Return ``string`` removing unnecessary special character
(string)
| 244 | |
| 245 | |
| 246 | def get_cleaned_string(string): |
| 247 | """ |
| 248 | Return ``string`` removing unnecessary special character |
| 249 | """ |
| 250 | if string: |
| 251 | for replaceable in ("'", '"', '{', '}', '[', ']', '%q', '<', '>', '.freeze'): |
| 252 | string = string.replace(replaceable, '') |
| 253 | return string.strip() |
| 254 | |
| 255 | |
| 256 | def get_multiline_description(description_start, lines): |
no test coverage detected