Method
__new__
(cls, ms_api_value: int, xml_value: str | None, docstr: str)
Source from the content-addressed store, hash-verified
| 40 | xml_value: str | None |
| 41 | |
| 42 | def __new__(cls, ms_api_value: int, xml_value: str | None, docstr: str): |
| 43 | self = int.__new__(cls, ms_api_value) |
| 44 | self._value_ = ms_api_value |
| 45 | self.xml_value = xml_value |
| 46 | self.__doc__ = docstr.strip() |
| 47 | return self |
| 48 | |
| 49 | def __str__(self): |
| 50 | """The symbolic name and string value of this member, e.g. 'MIDDLE (3)'.""" |
Callers
nothing calls this directly
Tested by
no test coverage detected