Skip to content

Commit f4194c4

Browse files
authored
Update docstring (#9340)
1 parent 6df5098 commit f4194c4

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

rest_framework/filters.py

+1-3
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,7 @@
2121

2222

2323
def search_smart_split(search_terms):
24-
"""generator that first splits string by spaces, leaving quoted phrases together,
25-
then it splits non-quoted phrases by commas.
26-
"""
24+
"""Returns sanitized search terms as a list."""
2725
split_terms = []
2826
for term in smart_split(search_terms):
2927
# trim commas to avoid bad matching for quoted phrases

0 commit comments

Comments
 (0)