re.NONE

Lawrence D'Oliveiro ldo at geek-central.gen.new_zealand
Mon Jun 22 20:56:11 EDT 2009


In message <e9213fb3-
c77d-4a47-8cb4-7dd916d69a61 at s1g2000prd.googlegroups.com>, 1x7y2z9 wrote:

> Not sure if this is defined in a later version, but it would be nice
> to define re.NONE = 0 in the re module.

Do so:

    re.NONE = 0

Problem solved.




More information about the Python-list mailing list