diff options
author | Georg Brandl <georg@python.org> | 2008-05-20 07:49:57 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2008-05-20 07:49:57 (GMT) |
commit | dffbf5f5421cbeb20237280c0bd70f989269f844 (patch) | |
tree | 51a520dcf10d589bd145d9117b010dab6bc28e3b /Lib/re.py | |
parent | 06d2a2cb0e105019e8bd5e29a3c81c6874e6396a (diff) | |
download | cpython-dffbf5f5421cbeb20237280c0bd70f989269f844.zip cpython-dffbf5f5421cbeb20237280c0bd70f989269f844.tar.gz cpython-dffbf5f5421cbeb20237280c0bd70f989269f844.tar.bz2 |
Revert copy_reg -> copyreg rename.
Diffstat (limited to 'Lib/re.py')
-rw-r--r-- | Lib/re.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -278,12 +278,12 @@ def _subx(pattern, template): # register myself for pickling -import copyreg +import copy_reg def _pickle(p): return _compile, (p.pattern, p.flags) -copyreg.pickle(_pattern_type, _pickle, _compile) +copy_reg.pickle(_pattern_type, _pickle, _compile) # -------------------------------------------------------------------- # experimental stuff (see python-dev discussions for details) |