[Python-3000-checkins] r66897 - python/branches/py3k/Doc/library/reprlib.rst

benjamin.peterson python-3000-checkins at python.org
Wed Oct 15 05:09:46 CEST 2008


Author: benjamin.peterson
Date: Wed Oct 15 05:09:45 2008
New Revision: 66897

Log:
correct changed import

Modified:
   python/branches/py3k/Doc/library/reprlib.rst

Modified: python/branches/py3k/Doc/library/reprlib.rst
==============================================================================
--- python/branches/py3k/Doc/library/reprlib.rst	(original)
+++ python/branches/py3k/Doc/library/reprlib.rst	Wed Oct 15 05:09:45 2008
@@ -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


More information about the Python-3000-checkins mailing list