(cls, ms_api_value: int, docstr: str)
| 20 | """ |
| 21 | |
| 22 | def __new__(cls, ms_api_value: int, docstr: str): |
| 23 | self = int.__new__(cls, ms_api_value) |
| 24 | self._value_ = ms_api_value |
| 25 | self.__doc__ = docstr.strip() |
| 26 | return self |
| 27 | |
| 28 | def __str__(self): |
| 29 | """The symbolic name and string value of this member, e.g. 'MIDDLE (3)'.""" |