diff options
author | David Beazley <dave@dabeaz.com> | 2017-03-01 18:10:54 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-01 18:10:54 -0600 |
commit | d4c866480ff18263e83df5600f017e6528e8d8ce (patch) | |
tree | 680a93a12f51c34494fdfcbb2a055022c3f99d88 /doc | |
parent | c1f07cc1a9892af2cf797f1116ded15d13d0e5f6 (diff) | |
parent | ac7d4a839535485157145395f7468a0eacadc3e8 (diff) | |
download | ply-d4c866480ff18263e83df5600f017e6528e8d8ce.tar.gz |
Merge pull request #112 from brettcannon/patch-2
Add some missing spaces in a code example
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 |