diff options
author | Joel Capitao <jcapitao@redhat.com> | 2021-02-11 12:09:38 +0100 |
---|---|---|
committer | Joel Capitao <jcapitao@redhat.com> | 2021-02-11 12:29:00 +0100 |
commit | 8271ba8719db5bba6a1bb45cd7e2f6750ae5f56a (patch) | |
tree | 2327557ec6cc95fddb8303396dfbb76727bf3373 /releasenotes | |
parent | 5188cc77c5433219583379efc5488edf376d9fdf (diff) | |
download | python-troveclient-8271ba8719db5bba6a1bb45cd7e2f6750ae5f56a.tar.gz |
Switch to collections.abc.*
The abstract base classes previously defined in 'collections' were moved
to 'collections.abc' in 3.3. The aliases will be removed in 3.10.
Preempt this change now with a simple find-replace:
$ ag -l 'collections.($TYPES)' | \
xargs sed -i 's/\(collections\)\.\($TYPES\)/\1.abc.\2/g'
Where $TYPES is the list of moved ABCs from [1].
[1] https://docs.python.org/3/library/collections.abc.html
Credit for this commit message to Stephen Finucane <stephenfin@redhat.com>
Change-Id: I782f2449832398cf2cfb886f561635de3d8ac18d
Diffstat (limited to 'releasenotes')
0 files changed, 0 insertions, 0 deletions