Removed incorrect docstring

This commit is contained in:
Auto-5 2023-03-18 14:12:53 +00:00 committed by GitHub
parent 2a557ceb76
commit f03f9670fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -423,7 +423,6 @@ class ImageDraw:
self.draw.draw_rectangle(right, ink, 1)
def _multiline_check(self, text):
"""Draw text."""
split_character = "\n" if isinstance(text, str) else b"\n"
return split_character in text