e24f29dbf5
* Add context manager example A simple illustrative example on how to use context managers. I required this to use pymc3, which relies heavily on the context stack for modelling. * Clippy changes to context example * Extend context manager example with exit exceptions * Context manager, s/call1/call_method1/ and comments for clarity * Add newline to context manager section to avoid horizontal scrolling * Change generic, potentially confusing label. s/objects.py/house.py/ * Use call_function1 rather than call_method1. * Missed a call_method0, change to call_function0 * Update guide/src/python_from_rust.md Co-authored-by: David Hewitt <1939362+davidhewitt@users.noreply.github.com> * Update guide/src/python_from_rust.md Co-authored-by: David Hewitt <1939362+davidhewitt@users.noreply.github.com> Co-authored-by: David Hewitt <1939362+davidhewitt@users.noreply.github.com> |
||
---|---|---|
.. | ||
src | ||
book.toml |