From 716176473c4f80a2ca04ddc597eb87669dd9c9eb Mon Sep 17 00:00:00 2001 From: Jakob Gerhard Martinussen Date: Wed, 8 May 2024 13:32:08 +0200 Subject: [PATCH] Add type annotation for Q.__xor__ --- django-stubs/db/models/query_utils.pyi | 1 + 1 file changed, 1 insertion(+) diff --git a/django-stubs/db/models/query_utils.pyi b/django-stubs/db/models/query_utils.pyi index ff0998bcc..f357e2f1c 100644 --- a/django-stubs/db/models/query_utils.pyi +++ b/django-stubs/db/models/query_utils.pyi @@ -37,6 +37,7 @@ class Q(tree.Node): def __init__(self, *args: Any, **kwargs: Any) -> None: ... def __or__(self, other: Any) -> Q: ... def __and__(self, other: Any) -> Q: ... + def __xor__(self, other: Any) -> Q: ... def __invert__(self) -> Q: ... def resolve_expression( self,