pub const PYTHON_STR_METHODS: &'static [&'static str];Expand description
Python str instance methods that an enum member name can shadow.
StrEnum inherits from str, so variant names that match str instance methods
(e.g., Title → title) shadow the inherited method and trigger mypy [assignment]
errors at the class body. This constant lists all such methods that must be escaped
with a trailing underscore when used as enum member names (e.g., title_).