Pratt

Latest version: v0.1.1

Safety actively analyzes 621724 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

0.2.0

-------------

- Added :meth:`pratt.Grammar.enclosing`.
- Changed :class:`pratt.Grammar` by giving it's `__init__` method a default
implementation for the `handle_unexpected_token` argument. The new default
implementation raises :exc:`pratt.UnexpectedToken`.
- Added :exc:`pratt.PrattException`. At the moment it's not raised and only
subclassed by :exc:`pratt.UnexpectedToken`. It's primary reason for existance
is to serve as a base class for future exceptions.
- Added documentation.
- Added :meth:`pratt.Grammar.ternary`.

0.1.1

-------------

Initial release.

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.