Skip to content

Commit f5f2441

Browse files
committed
update impls
1 parent 0893d6e commit f5f2441

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

mypy/typeanal.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -288,8 +288,8 @@ def lookup_qualified(
288288
) -> SymbolTableNode | None:
289289
return self.api.lookup_qualified(name, ctx, suppress_errors)
290290

291-
def lookup_fully_qualified(self, name: str) -> SymbolTableNode:
292-
return self.api.lookup_fully_qualified(name)
291+
def lookup_fully_qualified(self, fullname: str) -> SymbolTableNode:
292+
return self.api.lookup_fully_qualified(fullname)
293293

294294
def visit_unbound_type(self, t: UnboundType, defining_literal: bool = False) -> Type:
295295
typ = self.visit_unbound_type_nonoptional(t, defining_literal)
@@ -1762,8 +1762,8 @@ def analyze_literal_param(self, idx: int, arg: Type, ctx: Context) -> list[Type]
17621762
self.fail(f"Parameter {idx} of Literal[...] is invalid", ctx, code=codes.VALID_TYPE)
17631763
return None
17641764

1765-
def analyze_type(self, t: Type) -> Type:
1766-
return t.accept(self)
1765+
def analyze_type(self, typ: Type) -> Type:
1766+
return typ.accept(self)
17671767

17681768
def fail(self, msg: str, ctx: Context, *, code: ErrorCode | None = None) -> None:
17691769
self.fail_func(msg, ctx, code=code)
@@ -1938,12 +1938,12 @@ def anal_var_defs(self, var_defs: Sequence[TypeVarLikeType]) -> list[TypeVarLike
19381938

19391939
def named_type(
19401940
self,
1941-
fully_qualified_name: str,
1941+
fullname: str,
19421942
args: list[Type] | None = None,
19431943
line: int = -1,
19441944
column: int = -1,
19451945
) -> Instance:
1946-
node = self.lookup_fully_qualified(fully_qualified_name)
1946+
node = self.lookup_fully_qualified(fullname)
19471947
assert isinstance(node.node, TypeInfo)
19481948
any_type = AnyType(TypeOfAny.special_form)
19491949
if args is not None:

0 commit comments

Comments
 (0)