Skip to content

Commit

Permalink
add warning admonition
Browse files Browse the repository at this point in the history
  • Loading branch information
DenisBiryukov91 committed Dec 4, 2024
1 parent 800a60c commit 8965019
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zenoh/__init__.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ _PythonCallback = Callable[[_T], Any]
_PythonHandler = tuple[_PythonCallback[_T], _H]

def unstable(original):
_WARNING = "Warning: This API has been marked as unstable: it works as advertised, but it may be changed in a future release."
_WARNING = ".. warning::\nThis API has been marked as unstable: it works as advertised, but it may be changed in a future release."
if original.__doc__:
original.__doc__ += "\n" + _WARNING
else:
Expand Down

0 comments on commit 8965019

Please sign in to comment.