summaryrefslogtreecommitdiff
path: root/examples/linenoExample.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/linenoExample.py')
-rw-r--r--examples/linenoExample.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/linenoExample.py b/examples/linenoExample.py
index 0f84e10..f343869 100644
--- a/examples/linenoExample.py
+++ b/examples/linenoExample.py
@@ -30,7 +30,7 @@ OneOrMore(wd).parseString(data)
# demonstrate returning an object from a parse action, containing more information
# than just the matching token text
-class Token(object):
+class Token:
def __init__(self, st, locn, tokString):
self.tokenString = tokString
self.locn = locn