[gobject-introspection/wip/docs: 8/16] sectionparser: Rename



commit a1a703859dc241e027b8636d90dea9dd5aafeabc
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Wed Mar 27 15:03:11 2013 -0400

    sectionparser: Rename
    
    It's called a sections file, not a section file.

 giscanner/sectionparser.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/giscanner/sectionparser.py b/giscanner/sectionparser.py
index f66d46a..85ef3a2 100644
--- a/giscanner/sectionparser.py
+++ b/giscanner/sectionparser.py
@@ -19,7 +19,7 @@
 
 import re
 
-class SectionFile(object):
+class SectionsFile(object):
     def __init__(self, sections):
         self.sections = sections
 
@@ -74,4 +74,4 @@ def parse_sections_file(lines):
 
         current_subsection.symbols.append(line)
 
-    return SectionFile(sections)
+    return SectionsFile(sections)


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