в чем разница между оболочкой метода и оболочкой слота?

1) True.__init__ дает

`<method-wrapper '__init__' of bool object at 0x9efaa0>`

2) int.__init__ дает

`<slot wrapper '__init__' of 'object' objects>`

в чем разница?


person vainraxe    schedule 12.08.2019    source источник
comment
Примечание. int — это тип, True — объект типа bool`.   -  person Willem Van Onsem    schedule 12.08.2019
comment
Итак, bool.__init__ также дает нам <slot wrapper>.   -  person Willem Van Onsem    schedule 12.08.2019