1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-12 15:27:14 +03:00

[2255] Fix Removed Comment

This commit is contained in:
David Sangrey 2024-06-09 15:56:44 -04:00
parent 7d5fdb2b84
commit f56302e507
No known key found for this signature in database
GPG Key ID: 3AEADBB0186884BC

View File

@ -261,7 +261,7 @@ class _Locale:
"""Locale holds a few utility methods to convert data to and from localized versions."""
# DEPRECATED: Migrate to _Locale.string_from_number. Will remove in 6.0 or later.
def stringFromNumber(self, number: float | int, decimals: int | None = None) -> str: # noqa:
def stringFromNumber(self, number: float | int, decimals: int | None = None) -> str: # noqa: N802
warnings.warn('use _Locale.string_from_number instead.', DeprecationWarning, stacklevel=2)
return self.string_from_number(number, decimals) # type: ignore