79567544

Date: 2025-04-10 20:44:13
Score: 1
Natty:
Report link

It seems like for loop is more preferable here

a = []
for b in c:
    try:
        a.append(SomeClass.SomeMethod(doc, b).Name)
    except Exception:
        a.append(None)
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: poisoned_monkey