1. Roger Haase
  2. moin-2.0

Commits

Thomas Waldmann  committed cba57aa

use triple double-quotes for docstrings

  • Participants
  • Parent commits a1edfcd
  • Branches default

Comments (0)

Files changed (4)

File MoinMoin/converter/creole_in.py

View file
     """
 
     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)
             yield line
 
     def block_nowiki_repl(self, iter_content, stack, nowiki):
-        "Handles a complete nowiki block"
+        """Handles a complete nowiki block"""
 
         stack.clear()
 

File MoinMoin/converter/mediawiki_in.py

View file
     """
 
     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:

File MoinMoin/converter/moinwiki_in.py

View file
     # 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)

File MoinMoin/converter/moinwiki_out.py

View file
 
 
 class Moinwiki(object):
-    '''
+    """
     Moinwiki syntax elements
     It's dummy
-    '''
+    """
     h = u'='
     a_open = u'[['
     a_separator = u'|'