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:
parent
7d5fdb2b84
commit
f56302e507
2
l10n.py
2
l10n.py
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user