Renamed the repr module to reprlib.

Added stub module for repr.
This commit is contained in:
Alexandre Vassalotti 2008-05-16 06:37:57 +00:00
parent 5915a4dcfe
commit 95d97c7390
4 changed files with 13 additions and 1 deletions

7
Lib/lib-old/repr.py Normal file
View file

@ -0,0 +1,7 @@
from warnings import warnpy3k
warnpy3k("The repr module has been renamed to 'reprlib' in Python 3.0",
stacklevel=2)
from sys import modules
import reprlib
modules[__name__] = repr