interrogate: Use __bool__ for default name of operator bool

This commit is contained in:
rdb 2021-03-09 19:33:50 +01:00
parent a80262cde4
commit e4ecb548bf
1 changed files with 2 additions and 1 deletions

View File

@ -103,7 +103,8 @@ RenameSet methodRenameDictionary[] = {
{ "operator ->" , "dereference", 0 },
{ "operator <<=" , "__ilshift__", 1 },
{ "operator >>=" , "__irshift__", 1 },
{ "operator typecast bool", "__nonzero__", 0 },
{ "operator typecast bool", "__bool__", 0 },
{ "__bool__" , "__bool__", 0 },
{ "__nonzero__" , "__nonzero__", 0 },
{ "__int__" , "__int__", 0 },
{ "__reduce__" , "__reduce__", 0 },