diff options
| author | Ulf Magnusson <ulfalizer@gmail.com> | 2018-08-14 10:00:53 +0200 |
|---|---|---|
| committer | Ulf Magnusson <ulfalizer@gmail.com> | 2018-08-14 10:29:24 +0200 |
| commit | b7be018fba77db3a9ff11faf980c600d4bbb2fa8 (patch) | |
| tree | e80291ed75f5571094b79de6bda075ec5e8407f6 /testsuite.py | |
| parent | 43480de6b2e50dc424232e9b9c97b19502f3e354 (diff) | |
Use += instead of extend()
+= also does an in-place modification for lists, and it's a bit faster.
Also get rid of an 'if node.defaults' tests. Both symbols and choices
can have defaults, and it's not worthwhile as an optimization either.
Diffstat (limited to 'testsuite.py')
0 files changed, 0 insertions, 0 deletions
