[Python-checkins] cpython (3.2): Dedent example in docstring

eric.araujo python-checkins at python.org
Sat Aug 20 20:02:37 CEST 2011


http://hg.python.org/cpython/rev/fd1c443e4adc
changeset:   71998:fd1c443e4adc
branch:      3.2
parent:      71993:c26a7be878fe
user:        Éric Araujo <merwok at netwok.org>
date:        Sat Aug 20 07:25:39 2011 +0200
summary:
  Dedent example in docstring

files:
  Lib/distutils/tests/support.py |  6 +++---
  1 files changed, 3 insertions(+), 3 deletions(-)


diff --git a/Lib/distutils/tests/support.py b/Lib/distutils/tests/support.py
--- a/Lib/distutils/tests/support.py
+++ b/Lib/distutils/tests/support.py
@@ -136,9 +136,9 @@
 
     Example use:
 
-            def test_compile(self):
-                copy_xxmodule_c(self.tmpdir)
-                self.assertIn('xxmodule.c', os.listdir(self.tmpdir)
+        def test_compile(self):
+            copy_xxmodule_c(self.tmpdir)
+            self.assertIn('xxmodule.c', os.listdir(self.tmpdir)
 
     If the source file can be found, it will be copied to *directory*.  If not,
     the test will be skipped.  Errors during copy are not caught.

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list