mirror of
https://github.com/xonsh/xonsh.git
synced 2025-03-06 01:10:57 +01:00
Reword sentence regarding bounding parentheses.
This commit is contained in:
parent
b1d436332d
commit
177ba80b8a
1 changed files with 5 additions and 5 deletions
|
@ -2097,11 +2097,11 @@ class BaseParser(object):
|
|||
|
||||
# The following grammar rules are no-ops because we don't need to glue the
|
||||
# source code back together piece-by-piece. Instead, we simply look for
|
||||
# top-level commas and record their positions. With these positions and
|
||||
# the bounding parenthesis !() positions we can use the source_slice()
|
||||
# method. This does a much better job of capturing exactly the source code
|
||||
# that was provided. The tokenizer & lexer can be a little lossy, especially
|
||||
# with respect to whitespace.
|
||||
# top-level commas and record their positions. With these positions and the
|
||||
# respective positions of the bounding parentheses, we can use the
|
||||
# source_slice() method. This does a much better job of capturing exactly
|
||||
# the source code that was provided. The tokenizer & lexer can be a little
|
||||
# lossy, especially with respect to whitespace.
|
||||
|
||||
def p_nocomma_tok(self, p):
|
||||
# see attachment function above for docstring
|
||||
|
|
Loading…
Add table
Reference in a new issue