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