看type hint的语法呗
【 在 jlsthsdqyx 的大作中提到: 】
: def count(self, x: str, __start: SupportsIndex | None = ..., __end: SupportsIndex | None = ...) -> int: ...
: q1:
: 上面的参数中,__start: SupportsIndex | None = ...这部分怎么理解,是
: ...................
--
FROM 61.149.73.24