mirror of
https://github.com/pybind/pybind11.git
synced 2026-06-07 00:04:42 +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.
4.6 KiB
4.6 KiB