此代码中的_after 是什么意思for?
if tbh.bag:
n = 0
for _ in tbh.bag.atom_set():
n += 1
len(tbh.bag.atom_set())(如果返回的值具有__len__方法)或sum(1 for _ in tbh.bag.atom_set())
pylint另一种选择哑变量名的前缀dummy_变量名。将此前缀与一起使用pylint,pylint不会发出警告。您也可以配置虚拟变量模式pylint以适应__。