commit | 9510e4a9f8503421c9f589e99e697aa5f3b89b69 | [log] [tgz] |
---|---|---|
author | Alexandre Vassalotti <alexandre@peadrop.com> | Sun May 11 08:25:28 2008 +0000 |
committer | Alexandre Vassalotti <alexandre@peadrop.com> | Sun May 11 08:25:28 2008 +0000 |
tree | 59e7f4f21d2c0902316f91b00d98e0e8d4b6c4aa | |
parent | f602c71b077de965693c62d65d0e261bd964fbda [diff] [blame] |
Added module stub for copy_reg renaming in 3.0. Renamed copy_reg to copyreg in the standard library, to avoid spurious warnings and ease later merging to py3k branch. Public documentation remains intact.
diff --git a/Lib/os.py b/Lib/os.py index 6dc4bf3..dc2e5fd 100644 --- a/Lib/os.py +++ b/Lib/os.py
@@ -729,7 +729,7 @@ return p.stdin, p.stdout __all__.append("popen4") -import copy_reg as _copy_reg +import copyreg as _copy_reg def _make_stat_result(tup, dict): return stat_result(tup, dict)