From c71dead915029b39bf0cf00fa67d755ef5e56dbc Mon Sep 17 00:00:00 2001 From: Dave Halter Date: Mon, 12 Oct 2026 17:06:43 +0200 Subject: [PATCH] Change a bit of typing information --- jedi/inference/compiled/access.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jedi/inference/compiled/access.py b/jedi/inference/compiled/access.py index 277c9b1d..c179d6b0 100644 --- a/jedi/inference/compiled/access.py +++ b/jedi/inference/compiled/access.py @@ -9,7 +9,7 @@ import re import builtins import typing from pathlib import Path -from typing import Optional, Tuple +from typing import Optional, Tuple, Any from jedi.inference.compiled.getattr_static import getattr_static @@ -46,7 +46,7 @@ ClassMethodDescriptorType = type(object_class_dict['__subclasshook__']) _sentinel = object() # Maps Python syntax to the operator module. -COMPARISON_OPERATORS = { +COMPARISON_OPERATORS: dict[str, Any] = { '==': op.eq, '!=': op.ne, 'is': op.is_,