mirror of
https://github.com/python/cpython.git
synced 2025-10-31 21:51:50 +00:00
8 lines
190 B
Python
8 lines
190 B
Python
|
|
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
|