Skip to content

Commit 0b9e7b3

Browse files
authored
Possible fix to PR 201 (#285)
1 parent e5aefcc commit 0b9e7b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

swig_post_process.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -508,7 +508,7 @@ def __call__(self, file_str, filename, iteration):
508508
if match:
509509
function_name = match.groups()[1]
510510
line = ''.join([line[:match.end(1)+1],
511-
function_name.replace('k', ''),
511+
function_name.replace('k', '', 1),
512512
line[match.end(2):]])
513513
output.append(line)
514514
return '\n'.join(output)

0 commit comments

Comments
 (0)