summaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorMarc Mueller <30130371+cdce8p@users.noreply.github.com>2022-02-19 10:21:53 +0100
committerGitHub <noreply@github.com>2022-02-19 10:21:53 +0100
commit3174e0b112ce229df15771f57b6cc88b87d2e1c7 (patch)
tree11f6f51a6d72788be5823281339ef27ac1f975ed /ChangeLog
parenta7d0a18ea54c66e683be1cabb76364b053319df2 (diff)
downloadastroid-git-3174e0b112ce229df15771f57b6cc88b87d2e1c7.tar.gz
Fix ``ClassDef.fromlineno`` for Python < 3.8 (#1395)
Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog3
1 files changed, 3 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index bce6094b..2b701d63 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -44,6 +44,9 @@ Release date: TBA
Closes #1085
+* Fix ``ClassDef.fromlineno``. For Python < 3.8 the ``lineno`` attribute includes decorators.
+ ``fromlineno`` should return the line of the ``class`` statement itself.
+
What's New in astroid 2.9.4?
============================
Release date: TBA