Skip to content

Commit 2e71402

Browse files
authored
Merge pull request bruderstein#142 from pryrt/patch-1
change number() to int() in scintilla.rst code example
2 parents cce94eb + 31211d8 commit 2e71402

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/source/scintilla.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4682,7 +4682,7 @@ Helper Methods
46824682
A simple function replacement::
46834683

46844684
def add_1(m):
4685-
return 'Y' + str(number(m.group(1)) + 1)
4685+
return 'Y' + str(int(m.group(1)) + 1)
46864686

46874687
# replace X followed by numbers by an incremented number
46884688
# e.g. X56 X39 X999

0 commit comments

Comments
 (0)