SIGN IN SIGN UP

gh-136672: Docs: Move Enum functions and add examples (GH-136791)

* Docs: Move Enum functions and add examples

When the `Enum` functions `_add_alias_` and `_add_value_alias_` were added in de6bca956432cc852a4a41e2a2cee9cdacd19f35, the documentation for them was done under `EnumType` instead of `Enum`.

This change moves them to the docs of the `Enum` class and adds an example for each function.

---------

Co-authored-by: Ethan Furman <ethan@stoneleaf.us>
R
RafaelWO committed
003bd8cc63279b455a7ca5d783ff3623fd2b3804
Parent: 654b8d9
Committed by GitHub <noreply@github.com> on 8/12/2025, 7:28:27 PM