Skip to content

Commit 6ab5d8e

Browse files
committed
clarify purpose of join_words method
1 parent 513477e commit 6ab5d8e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyrit/prompt_converter/word_level_converter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def validate_input(self, prompt: str) -> None:
3636
pass
3737

3838
def join_words(self, words: list[str]) -> str:
39-
"""Join the processed words into a single string"""
39+
"""Provide a way for subclasses to override the default behavior of joining words."""
4040
return " ".join(words)
4141

4242
async def convert_async(self, *, prompt: str, input_type: PromptDataType = "text") -> ConverterResult:

0 commit comments

Comments
 (0)