From 01499a0ae16e2824d29b401ac29326aa41c06585 Mon Sep 17 00:00:00 2001 From: fantasy0x1 Date: Thu, 3 Jul 2025 01:32:00 -0300 Subject: [PATCH] style: format code with black to fix linter errors --- discord/enums.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/discord/enums.py b/discord/enums.py index 4311749d9..2998d67cd 100644 --- a/discord/enums.py +++ b/discord/enums.py @@ -21,6 +21,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. """ + from __future__ import annotations import types @@ -770,7 +771,7 @@ class Locale(Enum): @property def language_code(self) -> str: """Returns the locale's language code in the format of ``language-COUNTRY``. - + .. versionadded:: 2.5 """ return _UNICODE_LANG_MAP.get(self.value, self.value)