added docstring to strip_quoted_wrapping

This commit is contained in:
Paul Gauthier 2023-05-09 07:42:05 -07:00
parent 8a8bc3e244
commit 941b1e50eb

View file

@ -55,6 +55,16 @@ def quoted_file(fname):
def strip_quoted_wrapping(res, fname=None):
"""
Given an input string which may have extra "wrapping" around it, remove the wrapping.
For example:
filename.ext
```
We just want this content
Not the filename and triple quotes
```
"""
if not res:
return res