summaryrefslogtreecommitdiff
path: root/nodes.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 /nodes.py
parent54cb146e541b557471a19fcd884abd7e441d85b8 (diff)
downloadruamel.yaml-3d77f16e00124b74e150625396617b41e41da014.tar.gz
removed (object), prepare new RTScanner
Diffstat (limited to 'nodes.py')
-rw-r--r--nodes.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nodes.py b/nodes.py
index f51f989..0efe3ff 100644
--- a/nodes.py
+++ b/nodes.py
@@ -8,7 +8,7 @@ if False: # MYPY
from typing import Dict, Any, Text # NOQA
-class Node(object):
+class Node:
__slots__ = 'tag', 'value', 'start_mark', 'end_mark', 'comment', 'anchor'
def __init__(self, tag, value, start_mark, end_mark, comment=None, anchor=None):