File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -859,9 +859,14 @@ Supported ``_sunder_`` names
859
859
For :class: `Flag ` classes the next value chosen will be the next highest
860
860
power-of-two.
861
861
862
+ - While ``_sunder_ `` names are generally reserved for the further development
863
+ of the :class: `Enum ` class and can not be used, some are explicitly allowed:
864
+ - ``_repr_* `` (e.g. ``_repr_html_ ``), as used in `IPython's rich display `_
865
+
862
866
.. versionadded :: 3.6 ``_missing_``, ``_order_``, ``_generate_next_value_``
863
867
.. versionadded :: 3.7 ``_ignore_``
864
- .. versionadded :: 3.13 ``_add_alias_``, ``_add_value_alias_``
868
+ .. versionadded :: 3.13 ``_add_alias_``, ``_add_value_alias_``, ``_repr_*``
869
+ .. _`IPython's rich display` : https://ipython.readthedocs.io/en/stable/config/integrating.html#rich-display
865
870
866
871
---------------
867
872
You can’t perform that action at this time.
0 commit comments