Ich habe mir die Python Dokumentation für bewährte Verfahren zur Codeformatierung, z. B. für große Listen und Wörterbücher,
something = {'foo' : 'bar', 'foo2' : 'bar2', 'foo3' : 'bar3'..... 200 chars wide, etc..}
o
something = {'foo' : 'bar',
'foo2' : 'bar2',
'foo3' : 'bar3',
...
}
o
something = {
'foo' : 'bar',
'foo2' : 'bar2',
'foo3' : 'bar3',
...
}
Wie behandle ich tiefe Verschachtelungen von Listen/Wörterbüchern?