Change a bit of typing information

This commit is contained in:
Dave Halter committed 2026-10-12 17:06:43 +02:00
1 parent 091735802d
commit c71dead915
1 file changed
+2 -2
+2 -2
View File
@@ -9,7 +9,7 @@ import re
import builtins import builtins
import typing import typing
from pathlib import Path from pathlib import Path
from typing import Optional, Tuple from typing import Optional, Tuple, Any
from jedi.inference.compiled.getattr_static import getattr_static from jedi.inference.compiled.getattr_static import getattr_static
@@ -46,7 +46,7 @@ ClassMethodDescriptorType = type(object_class_dict['__subclasshook__'])
_sentinel = object() _sentinel = object()
# Maps Python syntax to the operator module. # Maps Python syntax to the operator module.
COMPARISON_OPERATORS = { COMPARISON_OPERATORS: dict[str, Any] = {
'==': op.eq, '==': op.eq,
'!=': op.ne, '!=': op.ne,
'is': op.is_, 'is': op.is_,