SelfType = TypeVar('SelfType', bound='P') class P: @classmethod. def from_half(cls: Type[SelfType], x: int) -> SelfType: return cls(x * 2).
確定! 回上一頁