hasattr(x, y)
This is equivalent to the Python hasattr function.
|
|
|
The object hasattr is a method function.
The source of this document is in Python/doc.m2:592:0.