correct changed import
diff --git a/Doc/library/reprlib.rst b/Doc/library/reprlib.rst
index aad6f66..c1364a3 100644
--- a/Doc/library/reprlib.rst
+++ b/Doc/library/reprlib.rst
@@ -118,10 +118,10 @@
the handling of types already supported. This example shows how special support
for file objects could be added::
- import repr
+ import reprlib
import sys
- class MyRepr(repr.Repr):
+ class MyRepr(reprlib.Repr):
def repr_file(self, obj, level):
if obj.name in ['<stdin>', '<stdout>', '<stderr>']:
return obj.name