Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add missing annotation to PyCounter.__call__
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'`.
- Loading branch information