Updated deprecation warning

This commit is contained in:
Andrew Murray 2024-06-10 16:47:52 +10:00 committed by GitHub
parent 9f831317fe
commit 4679e4bf9e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -908,7 +908,7 @@ def getdraw(im=None, hints=None):
:returns: A (drawing context, drawing resource factory) tuple. :returns: A (drawing context, drawing resource factory) tuple.
""" """
if hints is not None: if hints is not None:
deprecate("'hints' argument", 12) deprecate("'hints' parameter", 12)
from . import ImageDraw2 from . import ImageDraw2
if im: if im: