Donate Share

kodos

Tracker: Bugs

5 Sample Code for compile_obj.subn error - ID: 1631193
Last Update: Comment added ( dgrant )


Instead of generating:

# Replace string
newstr = compile_obj.subn('bar', 0)

The following should be generated:

# Replace string
newstr, replace_count = compile_obj.subn('bar', matchstr, 0)


Found in Kodos 2.4.9 for windows.

- paddy3118 From netscape Clot Debt


Paddy McCarthy ( paddy3118 ) - 2007-01-09 07:05

5

Open

None

Nobody/Anonymous

None

None

Public


Comment ( 1 )




Date: 2008-01-21 22:20
Sender: dgrant


I noticed this as well.


Log in to comment.

Attached File

No Files Currently Attached

Change

No changes have been made to this artifact.