[gobject-introspection] Replace ''' with """, to avoid confusing syntax highlightning in emacs



commit 86227e4d1f432bc880b6af7788b9d2b61acd1f3f
Author: Johan Dahlin <johan gnome org>
Date:   Thu Apr 5 10:43:42 2012 -0300

    Replace ''' with """, to avoid confusing syntax highlightning in emacs

 giscanner/annotationparser.py |   16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/giscanner/annotationparser.py b/giscanner/annotationparser.py
index a4e8b73..8d84c6c 100644
--- a/giscanner/annotationparser.py
+++ b/giscanner/annotationparser.py
@@ -457,7 +457,7 @@ class DocOption(object):
 
 
 class AnnotationParser(object):
-    '''
+    """
     GTK-Doc comment block parser.
 
     Parses GTK-Doc comment blocks into a parse tree built out of :class:`DockBlock`,
@@ -512,15 +512,15 @@ class AnnotationParser(object):
     .. _ScanSourceFile():
             http://git.gnome.org/browse/gtk-doc/tree/gtkdoc-mkdb.in#n3722
     .. _b41641b: b41641bd75f870afff7561ceed8a08456da57565
-    '''
+    """
 
     def parse(self, comments):
-        '''
+        """
         Parses multiple GTK-Doc comment blocks.
 
         :param comments: a list of (comment, filename, lineno) tuples
         :returns: a list of :class:`DocBlock` or ``None`` objects
-        '''
+        """
 
         comment_blocks = {}
 
@@ -540,12 +540,12 @@ class AnnotationParser(object):
         return comment_blocks
 
     def parse_comment_block(self, comment):
-        '''
+        """
         Parses a single GTK-Doc comment block.
 
         :param comment: a (comment, filename, lineno) tuple
         :returns: a :class:`DocBlock` object or ``None``
-        '''
+        """
 
         comment, filename, lineno = comment
         comment_lines = list(enumerate(comment.split('\n')))
@@ -565,7 +565,7 @@ class AnnotationParser(object):
         return self._parse_comment_block(comment_lines, filename, lineno)
 
     def _parse_comment_block(self, comment_lines, filename, lineno):
-        '''
+        """
         Parses a single GTK-Doc comment block stripped from it's
         comment start (/**) and comment end (*/) marker lines.
 
@@ -586,7 +586,7 @@ class AnnotationParser(object):
 
         .. _ScanSourceFile():
                 http://git.gnome.org/browse/gtk-doc/tree/gtkdoc-mkdb.in#n3722
-        '''
+        """
         comment_block = None
         in_part = None
         identifier = None



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]