[tor-commits] [ooni-probe/master] Make docstring work with sphinx

art at torproject.org art at torproject.org
Sun Dec 2 17:49:33 UTC 2012


commit 416256bf99fc2c53f721451f03a4a9b88a5c2842
Author: aagbsn <aagbsn at extc.org>
Date:   Fri Nov 30 17:21:26 2012 +0000

    Make docstring work with sphinx
---
 ooni/nettest.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/ooni/nettest.py b/ooni/nettest.py
index 4a54414..5e62adb 100644
--- a/ooni/nettest.py
+++ b/ooni/nettest.py
@@ -159,7 +159,7 @@ class NetTestCase(object):
         that you will be able to properly process.
 
         For example you may wish to have an input processor that will allow you
-        to ignore comments in files. This can be easily achieved like so:
+        to ignore comments in files. This can be easily achieved like so::
 
             fp = open(filename)
             for x in fp.xreadlines():





More information about the tor-commits mailing list