From 9015fd4fa3e6fdef22bae7785d579a1109d4a14d Mon Sep 17 00:00:00 2001 From: davfsa Date: Tue, 14 Nov 2023 14:20:11 +0100 Subject: [PATCH] Update hikari/internal/fast_protocol.py Co-authored-by: Yak <68242321+yakMM@users.noreply.github.com> Signed-off-by: davfsa --- hikari/internal/fast_protocol.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hikari/internal/fast_protocol.py b/hikari/internal/fast_protocol.py index e8995c39d8..2e9f3b6f64 100644 --- a/hikari/internal/fast_protocol.py +++ b/hikari/internal/fast_protocol.py @@ -32,7 +32,7 @@ from typing_extensions import Self _Protocol: FastProtocolChecking = NotImplemented -_IGNORED_ATTRS = frozenset(tuple(typing.EXCLUDED_ATTRIBUTES) + ("__qualname__", "__slots__")) +_IGNORED_ATTRS = frozenset(typing.EXCLUDED_ATTRIBUTES) | {"__qualname__", "__slots__"} def _check_if_ignored(name: str) -> bool: