Consolidate string concatenations in BaseDatabaseSchemaEditor.column_sql()
Currently, BaseDatabaseSchemaEditor.column_sql() builds up a sql string by repeated concatenations with itself. I noticed this could be combined into a single ' '.join(...) if an iterator that yields sql parts is factored out. This will eliminate the need to create temporary intermediate strings and should improve readability.
Change History
(5)
| Triage Stage: |
Unreviewed → Accepted
|
| Triage Stage: |
Accepted → Ready for checkin
|
| Resolution: |
→ fixed
|
| Status: |
assigned → closed
|
Tentatively accepted, so we can see what a patch looks like .