]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Improve the method ``__str__`` of :class:`ColumnCollection`
authorFederico Caselli <cfederico87@gmail.com>
Mon, 23 Mar 2020 20:17:01 +0000 (21:17 +0100)
committerFederico Caselli <cfederico87@gmail.com>
Tue, 24 Mar 2020 18:59:52 +0000 (19:59 +0100)
commit7f863344b96c945c56791d31b15a302c2ddd800f
tree6b83862084b22ccdf1436c60c5d3e82caeb80821
parente6b6ec78e6d6f96537eaf542f469a7e88134e9fc
Improve the method ``__str__`` of :class:`ColumnCollection`

The change avoids confusing a :class:`ColumnCollection` with a python list since the
previous string representation was the same.

Fixes: #5191
Change-Id: Icdbc08f9991d31ce86372505e3614740eaee56e2
doc/build/changelog/unreleased_14/5191.rst [new file with mode: 0644]
lib/sqlalchemy/sql/base.py
test/base/test_utils.py