0e40277112
This patch annotates the `__call__` method of `PyCounter` in example: callable objects with `#[args(args="*", kwargs="**")]`. Without it (at least in PyO3 0.15.0) the example fails with `TypeError: counter.__call__() missing 1 required positional argument: 'args'`. |
||
---|---|---|
.. | ||
src | ||
book.toml | ||
pyo3_version.py |