Skip to content

Commit

Permalink
Update snippets/deprecate.py
Browse files Browse the repository at this point in the history
Co-authored-by: Sam Dareska <[email protected]>
  • Loading branch information
liamhuber and samwaseda authored May 28, 2024
1 parent 786b708 commit 9dc7aaa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion snippets/deprecate.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ class Deprecator:
DeprecationWarning: __main__.foo is deprecated: use bar instead. It is not
guaranteed to be in service in vers. 0.4.0
>>> deprecate = Deprecator(message="pyiron says no!", version="0.5.0")
>>> deprecate = Deprecator(message="I say no!", version="0.5.0")
>>> @deprecate
... def foo(a, b):
... pass
Expand Down

0 comments on commit 9dc7aaa

Please sign in to comment.