cpython/Objects/clinic
Serhiy Storchaka a87c46eab3
bpo-15999: Accept arbitrary values for boolean parameters. (#15609)
builtins and extension module functions and methods that expect boolean values for parameters now accept any Python object rather than just a bool or int type. This is more consistent with how native Python code itself behaves.
2022-12-03 11:52:21 -08:00
..
bytearrayobject.c.h
bytesobject.c.h
classobject.c.h
codeobject.c.h
complexobject.c.h
descrobject.c.h
dictobject.c.h
enumobject.c.h
floatobject.c.h
funcobject.c.h
listobject.c.h
longobject.c.h
memoryobject.c.h
moduleobject.c.h
odictobject.c.h
structseq.c.h
tupleobject.c.h
typeobject.c.h
unicodeobject.c.h