diff options
author | Anthon van der Neut <anthon@mnt.org> | 2021-04-19 08:17:05 +0200 |
---|---|---|
committer | Anthon van der Neut <anthon@mnt.org> | 2021-04-19 08:17:05 +0200 |
commit | 3d77f16e00124b74e150625396617b41e41da014 (patch) | |
tree | ed01337ba7c78a5a5e68255a7a574e00e78556fc /error.py | |
parent | 54cb146e541b557471a19fcd884abd7e441d85b8 (diff) | |
download | ruamel.yaml-3d77f16e00124b74e150625396617b41e41da014.tar.gz |
removed (object), prepare new RTScanner
Diffstat (limited to 'error.py')
-rw-r--r-- | error.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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): |