Remove punctuation from a string
(line)
| 165 | |
| 166 | |
| 167 | def strip_punctuation(line): |
| 168 | """Remove punctuation from a string""" |
| 169 | return line.translate(_PUNC_TABLE).strip() |
| 170 | |
| 171 | |
| 172 | ####################################################################### |
no outgoing calls
no test coverage detected