From f4194c4684420ac86485d9610adf760064db381f Mon Sep 17 00:00:00 2001 From: "John-Anthony G. Thevos" Date: Fri, 22 Mar 2024 15:37:20 -0400 Subject: [PATCH] Update docstring (#9340) --- rest_framework/filters.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/rest_framework/filters.py b/rest_framework/filters.py index 5742f512e..435c30c88 100644 --- a/rest_framework/filters.py +++ b/rest_framework/filters.py @@ -21,9 +21,7 @@ from rest_framework.settings import api_settings def search_smart_split(search_terms): - """generator that first splits string by spaces, leaving quoted phrases together, - then it splits non-quoted phrases by commas. - """ + """Returns sanitized search terms as a list.""" split_terms = [] for term in smart_split(search_terms): # trim commas to avoid bad matching for quoted phrases