Skip to content

Commit

Permalink
Node.anchestors will be removed in version 3.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
c0fec0de committed Jun 6, 2017
1 parent d99e16e commit ee74203
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion anytree/node.py
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ def anchestors(self):
The attribute `anchestors` is just a typo of `ancestors`. Please use `ancestors`.
This attribute will be removed in the 2.0.0 release.
"""
warnings.warn(".anchestors was a typo and will be removed in version 2.0.0", DeprecationWarning)
warnings.warn(".anchestors was a typo and will be removed in version 3.0.0", DeprecationWarning)
return self.ancestors

@property
Expand Down

0 comments on commit ee74203

Please sign in to comment.