Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/upgrade.rst
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ Also new in v3.0 is ``py::native_enum``, a modern API for exposing
C++ enumerations as native Python types — typically standard-library
``enum.Enum`` or related subclasses. This provides improved integration with
Python's enum system, compared to the older (now deprecated) ``py::enum_``.
One also has to include ``#include <pybind11/native_enum.h>`` in the source file.
See `#5555 <https://github.com/pybind/pybind11/pull/5555>`_ for details.

Functions exposed with pybind11 are now pickleable. This removes a
Expand Down
Loading