summaryrefslogtreecommitdiff
path: root/nodes.py
diff options
context:
space:
mode:
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):