Skip to content

Commit 245dd3a

Browse files
mdboomCopilot
andauthored
Update toolshed/check_cython_abi.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent c24a321 commit 245dd3a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

toolshed/check_cython_abi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434

3535

3636
def short_stem(name: str) -> str:
37-
return name[: name.find(".")]
37+
return name.split(".", 1)[0]
3838

3939

4040
def get_package_path(package_name: str) -> Path:

0 commit comments

Comments
 (0)