From 39d5a97266544f45d8b2f8d666d41b0dafb38c42 Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Thu, 20 Oct 2016 16:29:30 -0400 Subject: [PATCH] Document Enum.enums is now a list Change-Id: I27251c262f919df1b084cbb08759f672f05cd3f7 Fixes: #3834 --- doc/build/changelog/migration_11.rst | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/doc/build/changelog/migration_11.rst b/doc/build/changelog/migration_11.rst index ce17fd3f64..04bdd72e99 100644 --- a/doc/build/changelog/migration_11.rst +++ b/doc/build/changelog/migration_11.rst @@ -1528,6 +1528,13 @@ string values:: e.execute(t.insert(), {"value": MyEnum.two}) assert e.scalar(t.select()) is MyEnum.two +The ``Enum.enums`` collection is now a list instead of a tuple +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +As part of the changes to :class:`.Enum`, the :attr:`.Enum.enums` collection +of elements is now a list instead of a tuple. This because lists +are appropriate for variable length sequences of homogeneous items where +the position of the element is not semantically significant. :ticket:`3292` -- 2.47.3