Change wording of InvalidArgument removal in docs

This commit is contained in:
chromacoat dreamkey
2022-03-12 12:25:43 +08:00
committed by GitHub
parent 124a3ee42a
commit 095aaa9ad1
14 changed files with 84 additions and 84 deletions

View File

@ -299,8 +299,8 @@ class Asset(AssetMixin):
"""Returns a new asset with the passed components replaced.
.. versionchanged:: 2.0
This function no-longer raises ``InvalidArgument`` instead raising
:exc:`ValueError`.
This function will now raise :exc:`ValueError` instead of
``InvalidArgument``.
Parameters
-----------
@ -354,8 +354,8 @@ class Asset(AssetMixin):
"""Returns a new asset with the specified size.
.. versionchanged:: 2.0
This function no-longer raises ``InvalidArgument`` instead raising
:exc:`ValueError`.
This function will now raise :exc:`ValueError` instead of
``InvalidArgument``.
Parameters
------------
@ -382,8 +382,8 @@ class Asset(AssetMixin):
"""Returns a new asset with the specified format.
.. versionchanged:: 2.0
This function no-longer raises ``InvalidArgument`` instead raising
:exc:`ValueError`.
This function will now raise :exc:`ValueError` instead of
``InvalidArgument``.
Parameters
------------
@ -420,8 +420,8 @@ class Asset(AssetMixin):
not animated. Otherwise, the asset is not changed.
.. versionchanged:: 2.0
This function no-longer raises ``InvalidArgument`` instead raising
:exc:`ValueError`.
This function will now raise :exc:`ValueError` instead of
``InvalidArgument``.
Parameters
------------