Skip to content

Commit 6d1dc5e

Browse files
Update str_ops.py
1 parent 0690af1 commit 6d1dc5e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mypyc/primitives/str_ops.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@
301301
name="count",
302302
arg_types=[str_rprimitive, str_rprimitive, int_rprimitive, int_rprimitive],
303303
return_type=c_pyssize_t_rprimitive,
304-
c_function_name="PyUnicode_Count",
304+
c_function_name="CPyStr_CountFull",
305305
error_kind=ERR_NEG_INT,
306306
)
307307

0 commit comments

Comments
 (0)