Skip to content

Commit b7282ce

Browse files
committed
f
1 parent 7c41fd3 commit b7282ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sphinx_codeautolink/parse.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ def to_name(self) -> Name:
156156
if c.name not in (NameBreak.import_from, NameBreak.namedexpr)
157157
]
158158

159-
breaks = [i for i, c in enumerate(self.components) if c.name in NameBreak]
159+
breaks = [i for i, c in enumerate(self.components) if c.name in list(NameBreak)]
160160
start_ix = breaks[-1] + 1 if breaks else 0
161161
code_str = ".".join(c.name for c in self.components[start_ix:])
162162

0 commit comments

Comments
 (0)