mirror of
https://github.com/RYDE-WORK/pybind11.git
synced 2026-03-21 17:56:46 +08: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.