[gobject-introspection/wip/docs: 6/11] sectionparser: Rename



commit 4790e95a8cea1d90382c7665d92fb3437ea1da83
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]