A way to hijack python methods and functions and attach callbacks or alter functionality.
Project description
mod2doctest
===========
mod2doctest is a module that converts a python module to a :mod:`doctest`
compatible docstring.
It's kind of like taking a python script, pasting it into an interactive
interpreter and then copying the output back into a docstring.
But mod2doctest does it for you and also has many conveinance to make this
process easier like adding ellipse markers for memory id / traceback and
provides formating features.
For full documentation please visit http://packages.python.org/mod2doctest/.
===========
mod2doctest is a module that converts a python module to a :mod:`doctest`
compatible docstring.
It's kind of like taking a python script, pasting it into an interactive
interpreter and then copying the output back into a docstring.
But mod2doctest does it for you and also has many conveinance to make this
process easier like adding ellipse markers for memory id / traceback and
provides formating features.
For full documentation please visit http://packages.python.org/mod2doctest/.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyjack-0.0.2.zip
(7.7 kB
view hashes)
Built Distributions
pyjack-0.0.2.win32-py2.6.exe
(203.5 kB
view hashes)
pyjack-0.0.2.win32-py2.5.exe
(68.8 kB
view hashes)
pyjack-0.0.2.win32-py2.4.exe
(68.8 kB
view hashes)
pyjack-0.0.2-py2.6.egg
(9.2 kB
view hashes)
pyjack-0.0.2-py2.5.egg
(9.2 kB
view hashes)
pyjack-0.0.2-py2.4.egg
(9.3 kB
view hashes)