diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/ply.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/ply.html b/doc/ply.html index 620cb7a..48ccdcb 100644 --- a/doc/ply.html +++ b/doc/ply.html @@ -561,8 +561,8 @@ column information as a separate step. For instance, just count backwards unti # Compute column. # input is the input text string # token is a token instance -def find_column(input,token): - last_cr = input.rfind('\n',0,token.lexpos) +def find_column(input, token): + last_cr = input.rfind('\n', 0, token.lexpos) if last_cr < 0: last_cr = 0 column = (token.lexpos - last_cr) + 1 |