xotl.tools.decorator.development
- Decorators for development annotations¶
-
xotl.tools.decorator.development.
unstable
(target, msg=None)[source]¶ Declares that a method, class or interface is unstable.
This has the side-effect of issuing a warning the first time the
target
is invoked.The
msg
parameter, if given, should be string that contains, at most, two positional replacement fields ({0} and {1}). The first replacement field will be the type oftarget
(interface, class or function) and the second matchestarget's
full name.