mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
Dedent example in docstring
This commit is contained in:
parent
1772541085
commit
e1e1331a49
1 changed files with 3 additions and 3 deletions
|
@ -136,9 +136,9 @@ def copy_xxmodule_c(directory):
|
||||||
|
|
||||||
Example use:
|
Example use:
|
||||||
|
|
||||||
def test_compile(self):
|
def test_compile(self):
|
||||||
copy_xxmodule_c(self.tmpdir)
|
copy_xxmodule_c(self.tmpdir)
|
||||||
self.assertIn('xxmodule.c', os.listdir(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,
|
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.
|
the test will be skipped. Errors during copy are not caught.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue