diff options
author | Daniƫl van Noord <13665637+DanielNoord@users.noreply.github.com> | 2023-04-17 17:13:31 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-17 17:13:31 +0200 |
commit | 1a14b5d2f6d7b16dcb8f50847b517798e8d1d759 (patch) | |
tree | 696f32917b1e03e369176f6989d52ecbd0c4ac8a /ChangeLog | |
parent | c40d6c0fcd83af530418f89749020352cc6f5b76 (diff) | |
download | astroid-git-1a14b5d2f6d7b16dcb8f50847b517798e8d1d759.tar.gz |
Decouple ``FunctionDef`` and ``Lambda`` (#2115)
As discussed in #2112 we really need to decouple this nodes.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -10,6 +10,13 @@ Release date: TBA Closes #1780 +* ``nodes.FunctionDef`` no longer inherits from ``nodes.Lambda``. + This is a breaking change but considered a bug fix as the nodes did not share the same + API and were not interchangeable. + + We have tried to minimize the amount of breaking changes caused by this change + but some are unavoidable. + * Improved signature of the ``__init__`` and ``__postinit__`` methods of the following nodes: - ``nodes.AnnAssign`` - ``nodes.Arguments`` |