changeset 1882:cba57aaf5bc1

use triple double-quotes for docstrings
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sat, 22 Dec 2012 01:03:16 +0100
parents a1edfcdddd34
children 92cf3c4a829d
files MoinMoin/converter/creole_in.py MoinMoin/converter/mediawiki_in.py MoinMoin/converter/moinwiki_in.py MoinMoin/converter/moinwiki_out.py
diffstat 4 files changed, 6 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/converter/creole_in.py	Sat Dec 22 00:56:49 2012 +0100
+++ b/MoinMoin/converter/creole_in.py	Sat Dec 22 01:03:16 2012 +0100
@@ -167,7 +167,7 @@
     """
 
     def block_nowiki_lines(self, iter_content):
-        "Unescaping generator for the lines in a nowiki block"
+        """Unescaping generator for the lines in a nowiki block"""
 
         for line in iter_content:
             match = self.nowiki_end_re.match(line)
@@ -178,7 +178,7 @@
             yield line
 
     def block_nowiki_repl(self, iter_content, stack, nowiki):
-        "Handles a complete nowiki block"
+        """Handles a complete nowiki block"""
 
         stack.clear()
 
--- a/MoinMoin/converter/mediawiki_in.py	Sat Dec 22 00:56:49 2012 +0100
+++ b/MoinMoin/converter/mediawiki_in.py	Sat Dec 22 01:03:16 2012 +0100
@@ -161,7 +161,7 @@
     """
 
     def block_table_lines(self, iter_content):
-        "Unescaping generator for the lines in a table block"
+        """Unescaping generator for the lines in a table block"""
         for line in iter_content:
             match = self.table_end_re.match(line)
             if match:
--- a/MoinMoin/converter/moinwiki_in.py	Sat Dec 22 00:56:49 2012 +0100
+++ b/MoinMoin/converter/moinwiki_in.py	Sat Dec 22 01:03:16 2012 +0100
@@ -249,7 +249,7 @@
     # Matches the possibly escaped end of a nowiki block
 
     def block_nowiki_lines(self, iter_content, marker_len):
-        "Unescaping generator for the lines in a nowiki block"
+        """Unescaping generator for the lines in a nowiki block"""
 
         for line in iter_content:
             match = self.nowiki_end_re.match(line)
--- a/MoinMoin/converter/moinwiki_out.py	Sat Dec 22 00:56:49 2012 +0100
+++ b/MoinMoin/converter/moinwiki_out.py	Sat Dec 22 01:03:16 2012 +0100
@@ -21,10 +21,10 @@
 
 
 class Moinwiki(object):
-    '''
+    """
     Moinwiki syntax elements
     It's dummy
-    '''
+    """
     h = u'='
     a_open = u'[['
     a_separator = u'|'