Skip to content

Commit

Permalink
Document PrematureEndOfInput
Browse files Browse the repository at this point in the history
  • Loading branch information
Kodiologist committed Apr 17, 2024
1 parent 136a2a1 commit da93d33
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1366,6 +1366,8 @@ Reader Macros
.. autoclass:: hy.reader.reader.Reader
:members:

.. autoexception:: hy.reader.exceptions.PrematureEndOfInput

Python Operators
----------------

Expand Down
1 change: 1 addition & 0 deletions hy/reader/exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,5 @@ def from_reader(cls, message, reader):


class PrematureEndOfInput(LexException):
"Raised when input ends unexpectedly during parsing."
pass

0 comments on commit da93d33

Please sign in to comment.