Skip to content

Commit

Permalink
Update changelog and document parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
AleksMat committed Oct 28, 2024
1 parent 77e60bb commit 7e77098
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ What's New in astroid 3.3.6?
Release date: TBA

* Fix precedence of `path` arg in `modpath_from_file_with_callback` to be higher than `sys.path`
* Prevent dataclass parsing from triggering `DuplicateBasesError`.


What's New in astroid 3.3.5?
Expand Down
2 changes: 2 additions & 0 deletions astroid/nodes/scoped_nodes/scoped_nodes.py
Original file line number Diff line number Diff line change
Expand Up @@ -2864,6 +2864,8 @@ def mro(
) -> list[ClassDef]:
"""Get the method resolution order, using C3 linearization.
:param ignore_duplicates: Don't raise DuplicateBasesError on duplicate bases
of the same base class.
:returns: The list of ancestors, sorted by the mro.
:rtype: list(NodeNG)
:raises DuplicateBasesError: Duplicate bases in the same class base
Expand Down

0 comments on commit 7e77098

Please sign in to comment.