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 7c41fd3 commit b7282ceCopy full SHA for b7282ce
src/sphinx_codeautolink/parse.py
@@ -156,7 +156,7 @@ def to_name(self) -> Name:
156
if c.name not in (NameBreak.import_from, NameBreak.namedexpr)
157
]
158
159
- breaks = [i for i, c in enumerate(self.components) if c.name in NameBreak]
+ breaks = [i for i, c in enumerate(self.components) if c.name in list(NameBreak)]
160
start_ix = breaks[-1] + 1 if breaks else 0
161
code_str = ".".join(c.name for c in self.components[start_ix:])
162
0 commit comments