[Zconfig] SVN: ZConfig/trunk/ZConfig/cfgparser.py add comment explaining _normalize_case()

Fred L. Drake, Jr. fdrake at gmail.com
Tue Apr 25 23:33:20 EDT 2006


Log message for revision 67612:
  add comment explaining _normalize_case()

Changed:
  U   ZConfig/trunk/ZConfig/cfgparser.py

-=-
Modified: ZConfig/trunk/ZConfig/cfgparser.py
===================================================================
--- ZConfig/trunk/ZConfig/cfgparser.py	2006-04-25 21:32:23 UTC (rev 67611)
+++ ZConfig/trunk/ZConfig/cfgparser.py	2006-04-26 03:33:19 UTC (rev 67612)
@@ -177,6 +177,8 @@
         raise ZConfig.ConfigurationSyntaxError(message, self.url, self.lineno)
 
     def _normalize_case(self, string):
+        # This method is factored out solely to allow subclasses to modify
+        # the behavior of the parser.
         return string.lower()
 
 



More information about the ZConfig mailing list