diff options
author | David Beazley <dave@dabeaz.com> | 2020-04-15 08:31:38 -0500 |
---|---|---|
committer | David Beazley <dave@dabeaz.com> | 2020-04-15 08:31:38 -0500 |
commit | 83c5b91972a0905d620f3407e7d37f4cbcfe4178 (patch) | |
tree | ee963f2b4c2c401e437dca7cf00848b2d7c7d059 | |
parent | 01e19f5dbd115f2a02e62a0b8e5a9b8295afc09d (diff) | |
download | ply-83c5b91972a0905d620f3407e7d37f4cbcfe4178.tar.gz |
typos
-rw-r--r-- | docs/ply.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/ply.rst b/docs/ply.rst index 65cdf74..2167398 100644 --- a/docs/ply.rst +++ b/docs/ply.rst @@ -559,7 +559,7 @@ can use the ``@TOKEN`` decorator. For example:: This will attach ``identifier`` to the docstring for ``t_ID()`` allowing ``lex.py`` to work normally. Naturally, you could use ``@TOKEN`` -on all functions as an alternative to using doc-strings. +on all functions as an alternative to using docstrings. Debugging ^^^^^^^^^ @@ -1416,7 +1416,7 @@ like this:: elif p[2] == '-': p[0] = p[1] - p[3] -In general, the doc string for any given function can contain multiple +In general, the docstring for any given function can contain multiple grammar rules. So, it would have also been legal (although possibly confusing) to write this:: |