Why __len__ is called and the result is not used when iterating with __getitem__? [duplicate]

后端 未结 1 1437
臣服心动
臣服心动 2020-12-21 05:14
热议问题