summaryrefslogtreecommitdiff
path: root/error.py
diff options
context:
space:
mode:
authorAnthon van der Neut <anthon@mnt.org>2021-04-19 08:17:05 +0200
committerAnthon van der Neut <anthon@mnt.org>2021-04-19 08:17:05 +0200
commit3d77f16e00124b74e150625396617b41e41da014 (patch)
treeed01337ba7c78a5a5e68255a7a574e00e78556fc /error.py
parent54cb146e541b557471a19fcd884abd7e441d85b8 (diff)
downloadruamel.yaml-3d77f16e00124b74e150625396617b41e41da014.tar.gz
removed (object), prepare new RTScanner
Diffstat (limited to 'error.py')
-rw-r--r--error.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/error.py b/error.py
index 04c4c24..30b114a 100644
--- a/error.py
+++ b/error.py
@@ -22,7 +22,7 @@ __all__ = [
]
-class StreamMark(object):
+class StreamMark:
__slots__ = 'name', 'index', 'line', 'column'
def __init__(self, name, index, line, column):
@@ -128,7 +128,7 @@ class StringMark(StreamMark):
return where
-class CommentMark(object):
+class CommentMark:
__slots__ = ('column',)
def __init__(self, column):