Browse Source
This behaviour matches CPython. It's useful to be able to store bound method objects in dicts/sets, and compare for equality, eg when storing them in a list and using list.remove(). Signed-off-by: Daniël van de Giessen <daniel@dvdgiessen.nl>pull/12639/head
Daniël van de Giessen
4 years ago
committed by
Damien George
2 changed files with 24 additions and 2 deletions
Loading…
Reference in new issue