We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 95539cc commit 809003cCopy full SHA for 809003c
bpython/line.py
@@ -6,13 +6,15 @@
6
7
import re
8
9
+from dataclasses import dataclass
10
from itertools import chain
-from typing import Optional, NamedTuple, Tuple
11
+from typing import Optional, Tuple
12
13
from .lazyre import LazyReCompile
14
15
-class LinePart(NamedTuple):
16
+@dataclass
17
+class LinePart:
18
start: int
19
stop: int
20
word: str
0 commit comments