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
尋找差異