正在加载此比较的其余部分。

MRO 122 vs 124

创建于 差异永不过期
两个文本完全相同
这两个文本之间没有差异
0 删除
319 行
0 添加
319 行
Ok(
Ok(
Mro(
Mro(
[
[
Class(
Class(
NonGeneric(
NonGeneric(
ClassLiteral {
ClassLiteral {
name: Name("DatetimeIndex"),
name: Name("DatetimeIndex"),
body_scope: ScopeId {
body_scope: ScopeId {
[salsa id]: Id(12f43),
[salsa id]: Id(12f43),
file: File {
file: File {
path: System(
path: System(
"/private/tmp/mypy_primer/projects/pandas-stubs/pandas-stubs/core/indexes/datetimes.pyi",
"/private/tmp/mypy_primer/projects/pandas-stubs/pandas-stubs/core/indexes/datetimes.pyi",
),
),
status: Exists,
status: Exists,
permissions: Some(
permissions: Some(
33188,
33188,
),
),
revision: FileRevision(
revision: FileRevision(
32442335915417352681598218619,
32442335915417352681598218619,
),
),
},
},
file_scope_id: FileScopeId(
file_scope_id: FileScopeId(
1,
1,
),
),
},
},
known: None,
known: None,
deprecated: None,
deprecated: None,
dataclass_params: None,
dataclass_params: None,
dataclass_transformer_params: None,
dataclass_transformer_params: None,
},
},
),
),
),
),
Class(
Class(
Generic(
Generic(
GenericAlias {
GenericAlias {
origin: ClassLiteral {
origin: ClassLiteral {
name: Name("DatetimeTimedeltaMixin"),
name: Name("DatetimeTimedeltaMixin"),
body_scope: ScopeId {
body_scope: ScopeId {
[salsa id]: Id(1d831),
[salsa id]: Id(1d831),
file: File {
file: File {
path: System(
path: System(
"/private/tmp/mypy_primer/projects/pandas-stubs/pandas-stubs/core/indexes/datetimelike.pyi",
"/private/tmp/mypy_primer/projects/pandas-stubs/pandas-stubs/core/indexes/datetimelike.pyi",
),
),
status: Exists,
status: Exists,
permissions: Some(
permissions: Some(
33188,
33188,
),
),
revision: FileRevision(
revision: FileRevision(
32442335915417352681598141536,
32442335915417352681598141536,
),
),
},
},
file_scope_id: FileScopeId(
file_scope_id: FileScopeId(
10,
10,
),
),
},
},
known: None,
known: None,
deprecated: None,
deprecated: None,
dataclass_params: None,
dataclass_params: None,
dataclass_transformer_params: None,
dataclass_transformer_params: None,
},
},
specialization: Specialization {
specialization: Specialization {
generic_context: GenericContext {
generic_context: GenericContext {
variables: {
variables: {
BoundTypeVarInstance {
BoundTypeVarInstance {
typevar: TypeVarInstance {
typevar: TypeVarInstance {
name: Name("S1"),
name: Name("S1"),
definition: Some(
definition: Some(
Definition {
Definition {
[salsa id]: Id(a02b),
[salsa id]: Id(a02b),
file: File {
file: File {
path: System(
path: System(
"/private/tmp/mypy_primer/projects/pandas-stubs/pandas-stubs/_typing.pyi",
"/private/tmp/mypy_primer/projects/pandas-stubs/pandas-stubs/_typing.pyi",
),
),
status: Exists,
status: Exists,
permissions: Some(
permissions: Some(
33188,
33188,
),
),
revision: FileRevision(
revision: FileRevision(
32442335915417352681590841115,
32442335915417352681590841115,
),
),
},
},
file_scope: FileScopeId(
file_scope: FileScopeId(
0,
0,
),
),
place: Symbol(
place: Symbol(
ScopedSymbolId(
ScopedSymbolId(
220,
220,
),
),
),
),
kind: Assignment(
kind: Assignment(
AssignmentDefinitionKind {
AssignmentDefinitionKind {
target_kind: Single,
target_kind: Single,
value: AstNodeRef {
value: AstNodeRef {
kind: ExprCall,
kind: ExprCall,
range: 26762..26807,
range: 26762..26807,
},
},
target: AstNodeRef {
target: AstNodeRef {
kind: ExprName,
kind: ExprName,
range: 26757..26759,
range: 26757..26759,
},
},