PyDocs

Nav

Generic Operating System Services

c_bool

ctypes

class (source)
Represent the C bool datatype (more accurately, _Bool from C99). Its value can be True or False, and the constructor accepts any object that has a truth value.
1 Example
>>> empty_list = []
>>> c_bool(empty_list)
c_bool(False)
from the Python docs
See Also
No see-alsos for ctypes/c_bool
0 Notes
No notes for c_bool