Ticket #2677: simplejson-tweak.diff

File simplejson-tweak.diff, 618 bytes (added by Tom Tobin <korpios@…, 18 years ago)

tweak bundled simplejson

  • django/utils/simplejson/scanner.py

     
    33"""
    44import sre_parse, sre_compile, sre_constants
    55from sre_constants import BRANCH, SUBPATTERN
    6 from sre import VERBOSE, MULTILINE, DOTALL
    76import re
    87
    98__all__ = ['Scanner', 'pattern']
    109
    11 FLAGS = (VERBOSE | MULTILINE | DOTALL)
     10FLAGS = (re.VERBOSE | re.MULTILINE | re.DOTALL)
    1211class Scanner(object):
    1312    def __init__(self, lexicon, flags=FLAGS):
    1413        self.actions = [None]
Back to Top