From 11c587867db06c21185e27dc5bfbb30b58fc10c6 Mon Sep 17 00:00:00 2001 From: Adam Johnson Date: Sun, 28 Aug 2022 09:14:03 +0100 Subject: [PATCH] Add Q.__xor__ (#1133) --- 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 cf17b9f..c93ed01 100644 --- a/django-stubs/db/models/query_utils.pyi +++ b/django-stubs/db/models/query_utils.pyi @@ -45,6 +45,7 @@ class Q(tree.Node): # def __init__(self, *args: Any, _connector: Optional[Any] = ..., _negated: bool = ..., **kwargs: Any) -> None: ... def __or__(self, other: Q) -> Q: ... def __and__(self, other: Q) -> Q: ... + def __xor__(self, other: Q) -> Q: ... def __invert__(self) -> Q: ... def resolve_expression( self,