symbian-qemu-0.9.1-12/python-win32-2.6.1/lib/sre.py
author Mike Kinghan <mikek@symbian.org>
Wed, 04 Aug 2010 11:52:10 +0100
branchGCC_SURGE
changeset 92 c5cd29a4600d
parent 1 2fb8b9db1c86
permissions -rw-r--r--
Fix for bug 3508 - Persistent storage support breaks Linux compatibility. Part 2. Neglected to include added files in first commit.

"""This file is only retained for backwards compatibility.
It will be removed in the future.  sre was moved to re in version 2.5.
"""

import warnings
warnings.warn("The sre module is deprecated, please import re.",
              DeprecationWarning, 2)

from re import *
from re import __all__

# old pickles expect the _compile() reconstructor in this module
from re import _compile