Skip to content

Commit

Permalink
Update docstring (#9340)
Browse files Browse the repository at this point in the history
  • Loading branch information
jthevos committed Mar 22, 2024
1 parent 6df5098 commit f4194c4
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions rest_framework/filters.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,7 @@


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
Expand Down

0 comments on commit f4194c4

Please sign in to comment.