diff options
| author | Claudiu Popa <cpopa@cloudbasesolutions.com> | 2014-12-05 21:40:41 +0200 |
|---|---|---|
| committer | Claudiu Popa <cpopa@cloudbasesolutions.com> | 2014-12-05 21:40:41 +0200 |
| commit | 1527165f2b2324aff85bdca7d33bab37534829ed (patch) | |
| tree | 33cec2aa545c42efce9127f124a83544e4ae29f4 /ChangeLog | |
| parent | 379579fb327d88db7bbd669d067d97b0b7af1174 (diff) | |
| download | astroid-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-- | ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 |
