From 43d655c8777a954408bb83e4fca9cce9ab87c902 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 3 Oct 2023 15:36:22 +0000 Subject: [PATCH] Bump codespell from 2.2.5 to 2.2.6 (#1726) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: davfsa --- dev-requirements/codespell.txt | 2 +- hikari/internal/enums.py | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/dev-requirements/codespell.txt b/dev-requirements/codespell.txt index ddff454685..e0a43e1384 100644 --- a/dev-requirements/codespell.txt +++ b/dev-requirements/codespell.txt @@ -1 +1 @@ -codespell==2.2.5 +codespell==2.2.6 diff --git a/hikari/internal/enums.py b/hikari/internal/enums.py index 7394e09952..9307e8ef2d 100644 --- a/hikari/internal/enums.py +++ b/hikari/internal/enums.py @@ -565,18 +565,18 @@ class Flag(metaclass=_FlagMeta): ----------------------------- * `e1 & e2` : Bitwise `AND` operation. Will return a member that contains all flags - that are common between both oprands on the values. This also works with - one of the oprands being an `int`eger. You may instead use + that are common between both operands on the values. This also works with + one of the operands being an `int`eger. You may instead use the `intersection` method. * `e1 | e2` : Bitwise `OR` operation. Will return a member that contains all flags - that appear on at least one of the oprands. This also works with - one of the oprands being an `int`eger. You may instead use + that appear on at least one of the operands. This also works with + one of the operands being an `int`eger. You may instead use the `union` method. * `e1 ^ e2` : Bitwise `XOR` operation. Will return a member that contains all flags - that only appear on at least one and at most one of the oprands. - This also works with one of the oprands being an `int`eger. + that only appear on at least one and at most one of the operands. + This also works with one of the operands being an `int`eger. You may instead use the `symmetric_difference` method. * `~e` : Return the inverse of this value. This is equivalent to disabling all