summaryrefslogtreecommitdiff
path: root/pycparser/plyparser.py
diff options
context:
space:
mode:
Diffstat (limited to 'pycparser/plyparser.py')
-rw-r--r--pycparser/plyparser.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pycparser/plyparser.py b/pycparser/plyparser.py
index 6222c0e..b8f4c43 100644
--- a/pycparser/plyparser.py
+++ b/pycparser/plyparser.py
@@ -1,7 +1,7 @@
#-----------------------------------------------------------------
# plyparser.py
#
-# PLYParser class and other utilites for simplifying programming
+# PLYParser class and other utilities for simplifying programming
# parsers with PLY
#
# Eli Bendersky [https://eli.thegreenplace.net/]
@@ -53,7 +53,7 @@ class PLYParser(object):
column=column)
def _token_coord(self, p, token_idx):
- """ Returns the coordinates for the YaccProduction objet 'p' indexed
+ """ Returns the coordinates for the YaccProduction object 'p' indexed
with 'token_idx'. The coordinate includes the 'lineno' and
'column'. Both follow the lex semantic, starting from 1.
"""