mirror of
https://github.com/pybind/pybind11.git
synced 2025-02-16 21:57:55 +00:00
The property returns the enum_ value as a string. For example: >>> import module >>> module.enum.VALUE enum.VALUE >>> str(module.enum.VALUE) 'enum.VALUE' >>> module.enum.VALUE.name 'VALUE' This is actually the equivalent of Boost.Python "name" property. |
||
---|---|---|
.. | ||
pybind11 |