summaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorClaudiu Popa <cpopa@cloudbasesolutions.com>2014-12-05 21:40:41 +0200
committerClaudiu Popa <cpopa@cloudbasesolutions.com>2014-12-05 21:40:41 +0200
commit1527165f2b2324aff85bdca7d33bab37534829ed (patch)
tree33cec2aa545c42efce9127f124a83544e4ae29f4 /ChangeLog
parent379579fb327d88db7bbd669d067d97b0b7af1174 (diff)
downloadastroid-git-1527165f2b2324aff85bdca7d33bab37534829ed.tar.gz
Changed the API for Class.slots.
It returns None when the class doesn't define any slots. Previously, for both the cases where the class didn't have slots defined and when it had an empty list of slots, Class.slots returned an empty list, which is ambiguous.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog5
1 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 684a0bba..c16e462f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -13,6 +13,11 @@ Change log for the astroid package (used to be astng)
* Add brain definition for most string and unicode methods
+ * Changed the API for Class.slots. It returns None when the class
+ doesn't define any slots. Previously, for both the cases where
+ the class didn't have slots defined and when it had an empty list
+ of slots, Class.slots returned an empty list.
+
2014-11-22 -- 1.3.2