Diff
checker
文本
文本
图像
文档
Excel
文件夹
Legal
Enterprise
桌面版
定价
登录
下载 Diffchecker 桌面版
比较文本
查找两个文本文件之间的差异
工具
历史
实时编辑器
隐藏空白更改
折叠未更改行
关闭换行
视图
拆分
统一
比对精度
智能
单词
字符
文本样式
更改外观
语法高亮
选择语法
忽略
文本转换
转到第一个差异
编辑输入
Diffchecker Desktop
运行Diffchecker最安全的方式。获取Diffchecker桌面应用:您的差异永远不会离开您的电脑!
获取桌面版
Mypyc Attrs
创建于
去年
差异永不过期
清除
导出
分享
解释
35 删除
行
总计
删除
字符
总计
删除
要继续使用此功能,请升级到
Diff
checker
Pro
查看价格
121 行
全部复制
35 添加
行
总计
添加
字符
总计
添加
要继续使用此功能,请升级到
Diff
checker
Pro
查看价格
121 行
全部复制
__class__: <class 'mypy.types.Instance'>
__class__: <class 'mypy.types.Instance'>
复制
已复制
复制
已复制
__delattr__: <method-wrapper '__delattr__' of Instance object at
0x7f521772ad40
>
__delattr__: <method-wrapper '__delattr__' of Instance object at
0x7fce2e12b010
>
__dir__: <built-in method __dir__ of Instance object at
0x7f521772ad40
>
__dir__: <built-in method __dir__ of Instance object at
0x7fce2e12b010
>
__doc__: None
__doc__: None
复制
已复制
复制
已复制
__eq__: <method-wrapper '__eq__' of Instance object at
0x7f521772ad40
>
__eq__: <method-wrapper '__eq__' of Instance object at
0x7fce2e12b010
>
__format__: <built-in method __format__ of Instance object at
0x7f521772ad40
>
__format__: <built-in method __format__ of Instance object at
0x7fce2e12b010
>
__ge__: <method-wrapper '__ge__' of Instance object at
0x7f521772ad40
>
__ge__: <method-wrapper '__ge__' of Instance object at
0x7fce2e12b010
>
__getattribute__: <method-wrapper '__getattribute__' of Instance object at
0x7f521772ad40
>
__getattribute__: <method-wrapper '__getattribute__' of Instance object at
0x7fce2e12b010
>
__getstate__: <built-in method __getstate__ of Instance object at
0x7f521772ad40
>
__getstate__: <built-in method __getstate__ of Instance object at
0x7fce2e12b010
>
__gt__: <method-wrapper '__gt__' of Instance object at
0x7f521772ad40
>
__gt__: <method-wrapper '__gt__' of Instance object at
0x7fce2e12b010
>
__hash__: <method-wrapper '__hash__' of Instance object at
0x7f521772ad40
>
__hash__: <method-wrapper '__hash__' of Instance object at
0x7fce2e12b010
>
__init__: <method-wrapper '__init__' of Instance object at
0x7f521772ad40
>
__init__: <method-wrapper '__init__' of Instance object at
0x7fce2e12b010
>
__init_subclass__: <built-in method __init_subclass__ of type object at
0x2dcae40
>
__init_subclass__: <built-in method __init_subclass__ of type object at
0x1e16e40
>
__le__: <method-wrapper '__le__' of Instance object at
0x7f521772ad40
>
__le__: <method-wrapper '__le__' of Instance object at
0x7fce2e12b010
>
__lt__: <method-wrapper '__lt__' of Instance object at
0x7f521772ad40
>
__lt__: <method-wrapper '__lt__' of Instance object at
0x7fce2e12b010
>
__module__: mypy.types
__module__: mypy.types
__mypyc_attrs__: ('type', 'args', 'type_ref', 'invalid', 'last_known_value', '_hash', 'extra_attrs', '_can_be_true', '_can_be_false', 'line', 'column', 'end_line', 'end_column')
__mypyc_attrs__: ('type', 'args', 'type_ref', 'invalid', 'last_known_value', '_hash', 'extra_attrs', '_can_be_true', '_can_be_false', 'line', 'column', 'end_line', 'end_column')
复制
已复制
复制
已复制
__ne__: <method-wrapper '__ne__' of Instance object at
0x7f521772ad40
>
__ne__: <method-wrapper '__ne__' of Instance object at
0x7fce2e12b010
>
__new__: <built-in method __new__ of type object at
0x2dcae40
>
__new__: <built-in method __new__ of type object at
0x1e16e40
>
__reduce__: <built-in method __reduce__ of Instance object at
0x7f521772ad40
>
__reduce__: <built-in method __reduce__ of Instance object at
0x7fce2e12b010
>
__reduce_ex__: <built-in method __reduce_ex__ of Instance object at
0x7f521772ad40
>
__reduce_ex__: <built-in method __reduce_ex__ of Instance object at
0x7fce2e12b010
>
__repr__: <method-wrapper '__repr__' of Instance object at
0x7f521772ad40
>
__repr__: <method-wrapper '__repr__' of Instance object at
0x7fce2e12b010
>
__setattr__: <method-wrapper '__setattr__' of Instance object at
0x7f521772ad40
>
__setattr__: <method-wrapper '__setattr__' of Instance object at
0x7fce2e12b010
>
__setstate__: <built-in method __setstate__ of Instance object at
0x7f521772ad40
>
__setstate__: <built-in method __setstate__ of Instance object at
0x7fce2e12b010
>
__sizeof__: <built-in method __sizeof__ of Instance object at
0x7f521772ad40
>
__sizeof__: <built-in method __sizeof__ of Instance object at
0x7fce2e12b010
>
__str__: <method-wrapper '__str__' of Instance object at
0x7f521772ad40
>
__str__: <method-wrapper '__str__' of Instance object at
0x7fce2e12b010
>
__subclasshook__: <built-in method __subclasshook__ of type object at
0x2dcae40
>
__subclasshook__: <built-in method __subclasshook__ of type object at
0x1e16e40
>
_can_be_false: 1
_can_be_false: 1
_can_be_true: 1
_can_be_true: 1
_hash: -1
_hash: -1
复制
已复制
复制
已复制
accept: <built-in method accept of Instance object at
0x7f521772ad40
>
accept: <built-in method accept of Instance object at
0x7fce2e12b010
>
args: ()
args: ()
can_be_false: True
can_be_false: True
复制
已复制
复制
已复制
can_be_false_default: <built-in method can_be_false_default of Instance object at
0x7f521772ad40
>
can_be_false_default: <built-in method can_be_false_default of Instance object at
0x7fce2e12b010
>
can_be_true: True
can_be_true: True
复制
已复制
复制
已复制
can_be_true_default: <built-in method can_be_true_default of Instance object at
0x7f521772ad40
>
can_be_true_default: <built-in method can_be_true_default of Instance object at
0x7fce2e12b010
>
column:
-1
column:
37
copy_modified: <built-in method copy_modified of Instance object at
0x7f521772ad40
>
copy_modified: <built-in method copy_modified of Instance object at
0x7fce2e12b010
>
copy_with_extra_attr: <built-in method copy_with_extra_attr of Instance object at
0x7f521772ad40
>
copy_with_extra_attr: <built-in method copy_with_extra_attr of Instance object at
0x7fce2e12b010
>
deserialize: <built-in method deserialize of type object at
0x2dcae40
>
deserialize: <built-in method deserialize of type object at
0x1e16e40
>
end_column: None
end_column: None
end_line: None
end_line: None
extra_attrs: None
extra_attrs: None
invalid: False
invalid: False
复制
已复制
复制
已复制
is_singleton_type: <built-in method is_singleton_type of Instance object at
0x7f521772ad40
>
is_singleton_type: <built-in method is_singleton_type of Instance object at
0x7fce2e12b010
>
last_known_value: None
last_known_value: None
复制
已复制
复制
已复制
line:
-1
line:
7
serialize: <built-in method serialize of Instance object at
0x7f521772ad40
>
serialize: <built-in method serialize of Instance object at
0x7fce2e12b010
>
set_line: <built-in method set_line of Instance object at
0x7f521772ad40
>
set_line: <built-in method set_line of Instance object at
0x7fce2e12b010
>
str_with_options: <built-in method str_with_options of Instance object at
0x7f521772ad40
>
str_with_options: <built-in method str_with_options of Instance object at
0x7fce2e12b010
>
type: TypeInfo(
type: TypeInfo(
Name(builtins.str)
Name(builtins.str)
Bases(typing.Sequence[builtins.str])
Bases(typing.Sequence[builtins.str])
Mro(builtins.str, typing.Sequence, typing.Reversible, typing.Collection, typing.Iterable, typing.Container, builtins.object)
Mro(builtins.str, typing.Sequence, typing.Reversible, typing.Collection, typing.Iterable, typing.Container, builtins.object)
Names(
Names(
__add__
__add__
__contains__
__contains__
__eq__
__eq__
__ge__
__ge__
__getitem__
__getitem__
__getnewargs__
__getnewargs__
__gt__
__gt__
__hash__
__hash__
__iter__
__iter__
__le__
__le__
__len__
__len__
__lt__
__lt__
__mod__
__mod__
__mul__
__mul__
__ne__
__ne__
__new__
__new__
__rmul__
__rmul__
capitalize
capitalize
casefold
casefold
center
center
count
count
encode
encode
endswith
endswith
expandtabs
expandtabs
find
find
format
format
format_map
format_map
index
index
isalnum
isalnum
isalpha
isalpha
isascii
isascii
isdecimal
isdecimal
isdigit
isdigit
isidentifier
isidentifier
islower
islower
isnumeric
isnumeric
isprintable
isprintable
isspace
isspace
istitle
istitle
isupper
isupper
join
join
ljust
ljust
lower
lower
lstrip
lstrip
maketrans
maketrans
partition
partition
removeprefix
removeprefix
removesuffix
removesuffix
replace
replace
rfind
rfind
rindex
rindex
rjust
rjust
rpartition
rpartition
rsplit
rsplit
rstrip
rstrip
split
split
splitlines
splitlines
startswith
startswith
strip
strip
swapcase
swapcase
title
title
translate
translate
upper
upper
zfill)
zfill)
MetaclassType(abc.ABCMeta))
MetaclassType(abc.ABCMeta))
type_ref: None
type_ref: None
已保存差异
原始文本
打开文件
__class__: <class 'mypy.types.Instance'> __delattr__: <method-wrapper '__delattr__' of Instance object at 0x7f521772ad40> __dir__: <built-in method __dir__ of Instance object at 0x7f521772ad40> __doc__: None __eq__: <method-wrapper '__eq__' of Instance object at 0x7f521772ad40> __format__: <built-in method __format__ of Instance object at 0x7f521772ad40> __ge__: <method-wrapper '__ge__' of Instance object at 0x7f521772ad40> __getattribute__: <method-wrapper '__getattribute__' of Instance object at 0x7f521772ad40> __getstate__: <built-in method __getstate__ of Instance object at 0x7f521772ad40> __gt__: <method-wrapper '__gt__' of Instance object at 0x7f521772ad40> __hash__: <method-wrapper '__hash__' of Instance object at 0x7f521772ad40> __init__: <method-wrapper '__init__' of Instance object at 0x7f521772ad40> __init_subclass__: <built-in method __init_subclass__ of type object at 0x2dcae40> __le__: <method-wrapper '__le__' of Instance object at 0x7f521772ad40> __lt__: <method-wrapper '__lt__' of Instance object at 0x7f521772ad40> __module__: mypy.types __mypyc_attrs__: ('type', 'args', 'type_ref', 'invalid', 'last_known_value', '_hash', 'extra_attrs', '_can_be_true', '_can_be_false', 'line', 'column', 'end_line', 'end_column') __ne__: <method-wrapper '__ne__' of Instance object at 0x7f521772ad40> __new__: <built-in method __new__ of type object at 0x2dcae40> __reduce__: <built-in method __reduce__ of Instance object at 0x7f521772ad40> __reduce_ex__: <built-in method __reduce_ex__ of Instance object at 0x7f521772ad40> __repr__: <method-wrapper '__repr__' of Instance object at 0x7f521772ad40> __setattr__: <method-wrapper '__setattr__' of Instance object at 0x7f521772ad40> __setstate__: <built-in method __setstate__ of Instance object at 0x7f521772ad40> __sizeof__: <built-in method __sizeof__ of Instance object at 0x7f521772ad40> __str__: <method-wrapper '__str__' of Instance object at 0x7f521772ad40> __subclasshook__: <built-in method __subclasshook__ of type object at 0x2dcae40> _can_be_false: 1 _can_be_true: 1 _hash: -1 accept: <built-in method accept of Instance object at 0x7f521772ad40> args: () can_be_false: True can_be_false_default: <built-in method can_be_false_default of Instance object at 0x7f521772ad40> can_be_true: True can_be_true_default: <built-in method can_be_true_default of Instance object at 0x7f521772ad40> column: -1 copy_modified: <built-in method copy_modified of Instance object at 0x7f521772ad40> copy_with_extra_attr: <built-in method copy_with_extra_attr of Instance object at 0x7f521772ad40> deserialize: <built-in method deserialize of type object at 0x2dcae40> end_column: None end_line: None extra_attrs: None invalid: False is_singleton_type: <built-in method is_singleton_type of Instance object at 0x7f521772ad40> last_known_value: None line: -1 serialize: <built-in method serialize of Instance object at 0x7f521772ad40> set_line: <built-in method set_line of Instance object at 0x7f521772ad40> str_with_options: <built-in method str_with_options of Instance object at 0x7f521772ad40> type: TypeInfo( Name(builtins.str) Bases(typing.Sequence[builtins.str]) Mro(builtins.str, typing.Sequence, typing.Reversible, typing.Collection, typing.Iterable, typing.Container, builtins.object) Names( __add__ __contains__ __eq__ __ge__ __getitem__ __getnewargs__ __gt__ __hash__ __iter__ __le__ __len__ __lt__ __mod__ __mul__ __ne__ __new__ __rmul__ capitalize casefold center count encode endswith expandtabs find format format_map index isalnum isalpha isascii isdecimal isdigit isidentifier islower isnumeric isprintable isspace istitle isupper join ljust lower lstrip maketrans partition removeprefix removesuffix replace rfind rindex rjust rpartition rsplit rstrip split splitlines startswith strip swapcase title translate upper zfill) MetaclassType(abc.ABCMeta)) type_ref: None
更改后文本
打开文件
__class__: <class 'mypy.types.Instance'> __delattr__: <method-wrapper '__delattr__' of Instance object at 0x7fce2e12b010> __dir__: <built-in method __dir__ of Instance object at 0x7fce2e12b010> __doc__: None __eq__: <method-wrapper '__eq__' of Instance object at 0x7fce2e12b010> __format__: <built-in method __format__ of Instance object at 0x7fce2e12b010> __ge__: <method-wrapper '__ge__' of Instance object at 0x7fce2e12b010> __getattribute__: <method-wrapper '__getattribute__' of Instance object at 0x7fce2e12b010> __getstate__: <built-in method __getstate__ of Instance object at 0x7fce2e12b010> __gt__: <method-wrapper '__gt__' of Instance object at 0x7fce2e12b010> __hash__: <method-wrapper '__hash__' of Instance object at 0x7fce2e12b010> __init__: <method-wrapper '__init__' of Instance object at 0x7fce2e12b010> __init_subclass__: <built-in method __init_subclass__ of type object at 0x1e16e40> __le__: <method-wrapper '__le__' of Instance object at 0x7fce2e12b010> __lt__: <method-wrapper '__lt__' of Instance object at 0x7fce2e12b010> __module__: mypy.types __mypyc_attrs__: ('type', 'args', 'type_ref', 'invalid', 'last_known_value', '_hash', 'extra_attrs', '_can_be_true', '_can_be_false', 'line', 'column', 'end_line', 'end_column') __ne__: <method-wrapper '__ne__' of Instance object at 0x7fce2e12b010> __new__: <built-in method __new__ of type object at 0x1e16e40> __reduce__: <built-in method __reduce__ of Instance object at 0x7fce2e12b010> __reduce_ex__: <built-in method __reduce_ex__ of Instance object at 0x7fce2e12b010> __repr__: <method-wrapper '__repr__' of Instance object at 0x7fce2e12b010> __setattr__: <method-wrapper '__setattr__' of Instance object at 0x7fce2e12b010> __setstate__: <built-in method __setstate__ of Instance object at 0x7fce2e12b010> __sizeof__: <built-in method __sizeof__ of Instance object at 0x7fce2e12b010> __str__: <method-wrapper '__str__' of Instance object at 0x7fce2e12b010> __subclasshook__: <built-in method __subclasshook__ of type object at 0x1e16e40> _can_be_false: 1 _can_be_true: 1 _hash: -1 accept: <built-in method accept of Instance object at 0x7fce2e12b010> args: () can_be_false: True can_be_false_default: <built-in method can_be_false_default of Instance object at 0x7fce2e12b010> can_be_true: True can_be_true_default: <built-in method can_be_true_default of Instance object at 0x7fce2e12b010> column: 37 copy_modified: <built-in method copy_modified of Instance object at 0x7fce2e12b010> copy_with_extra_attr: <built-in method copy_with_extra_attr of Instance object at 0x7fce2e12b010> deserialize: <built-in method deserialize of type object at 0x1e16e40> end_column: None end_line: None extra_attrs: None invalid: False is_singleton_type: <built-in method is_singleton_type of Instance object at 0x7fce2e12b010> last_known_value: None line: 7 serialize: <built-in method serialize of Instance object at 0x7fce2e12b010> set_line: <built-in method set_line of Instance object at 0x7fce2e12b010> str_with_options: <built-in method str_with_options of Instance object at 0x7fce2e12b010> type: TypeInfo( Name(builtins.str) Bases(typing.Sequence[builtins.str]) Mro(builtins.str, typing.Sequence, typing.Reversible, typing.Collection, typing.Iterable, typing.Container, builtins.object) Names( __add__ __contains__ __eq__ __ge__ __getitem__ __getnewargs__ __gt__ __hash__ __iter__ __le__ __len__ __lt__ __mod__ __mul__ __ne__ __new__ __rmul__ capitalize casefold center count encode endswith expandtabs find format format_map index isalnum isalpha isascii isdecimal isdigit isidentifier islower isnumeric isprintable isspace istitle isupper join ljust lower lstrip maketrans partition removeprefix removesuffix replace rfind rindex rjust rpartition rsplit rstrip split splitlines startswith strip swapcase title translate upper zfill) MetaclassType(abc.ABCMeta)) type_ref: None
查找差异