pyworkflow.utils.echo module
This module trace through printing module and class functions… Code from: http://wordaligned.org/articles/echo
- pyworkflow.utils.echo.echo_class(klass, write=<built-in method write of _io.TextIOWrapper object>)[source]
Echo calls to class methods and static functions
- pyworkflow.utils.echo.echo_instancemethod(klass, method, write=<built-in method write of _io.TextIOWrapper object>)[source]
Change an instancemethod so that calls to it are echoed.
Replacing a classmethod is a little more tricky. See: http://www.python.org/doc/current/ref/types.html
- pyworkflow.utils.echo.echo_module(mod, write=<built-in method write of _io.TextIOWrapper object>)[source]
Echo calls to functions and methods in a module.
- pyworkflow.utils.echo.is_class_private_name(name)[source]
Determine if a name is a class private name.
- pyworkflow.utils.echo.is_classmethod(instancemethod)[source]
Determine if an instancemethod is a classmethod.