mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-13 18:56:17 +03:00
Update docstring
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
This commit is contained in:
parent
331595926c
commit
c9acb9b387
|
@ -26,7 +26,7 @@ def deprecate(
|
|||
Usually of the form:
|
||||
|
||||
"[deprecated] is deprecated and will be removed in Pillow [when] (yyyy-mm-dd).
|
||||
Use [new thing] instead."
|
||||
Use [replacement] instead."
|
||||
|
||||
You can leave out the replacement sentence:
|
||||
|
||||
|
@ -35,7 +35,7 @@ def deprecate(
|
|||
Or with another call to action:
|
||||
|
||||
"[deprecated] is deprecated and will be removed in Pillow [when] (yyyy-mm-dd).
|
||||
[Upgrade to new thing]."
|
||||
[action]."
|
||||
"""
|
||||
|
||||
is_ = "are" if plural else "is"
|
||||
|
|
Loading…
Reference in New Issue
Block a user