From 941b1e50ebfdc61e736bd7e0bbca077612546950 Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Tue, 9 May 2023 07:42:05 -0700 Subject: [PATCH] added docstring to strip_quoted_wrapping --- utils.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/utils.py b/utils.py index b78a4a03b..e05e8186c 100644 --- a/utils.py +++ b/utils.py @@ -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