Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This PR includes many tiny changes over mathics.core.pattern and mathics.builtin.patterns. * following @cory 's ExpReduce, the match method now has a `pattern_context` parameter that collects all the parameters. The linter seems to be happier with this change. * More annotations * More docstrings * More on avoiding the use of Python's built-in functions as identifiers. * `Rule` and `RuleDelayed` now check if they receive two parameters. If they receive more or less parameters, show a warning message. The work is not complete but is closer to being: it remains to remove `**kwargs` from the match calls, as well as some other adjustments. --------- Co-authored-by: rocky <[email protected]> Co-authored-by: R. Bernstein <[email protected]>
- Loading branch information