Skip to content

Commit

Permalink
Merge pull request dabeaz#167 from kajojify/patch-1
Browse files Browse the repository at this point in the history
Update ply.html
  • Loading branch information
dabeaz authored Dec 22, 2018
2 parents af91e60 + a858743 commit 2750294
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/ply.html
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ <H3><a name="ply_nn4"></a>4.1 Lex Example</H3>

The <tt>tok.type</tt> and <tt>tok.value</tt> attributes contain the
type and value of the token itself.
<tt>tok.line</tt> and <tt>tok.lexpos</tt> contain information about
<tt>tok.lineno</tt> and <tt>tok.lexpos</tt> contain information about
the location of the token. <tt>tok.lexpos</tt> is the index of the
token relative to the start of the input text.

Expand Down Expand Up @@ -3463,7 +3463,7 @@ <H2><a name="ply_nn49"></a>10. Packaging Advice</H2>
</p>

<p>
During operation, is is normal for PLY to produce diagnostic error
During operation, it is normal for PLY to produce diagnostic error
messages (usually printed to standard error). These are generated
entirely using the <tt>logging</tt> module. If you want to redirect
these messages or silence them, you can provide your own logging
Expand Down

0 comments on commit 2750294

Please sign in to comment.