Raymond Hettinger <rhettin...@users.sourceforge.net> added the comment:

Could just expand the docs to show examples of customizing behavior through 
monkey-patching or subclassing:

  class MyConfigParser(ConfigParser):
     SECTRE = re.compile(r'[\*(?P<header>[^]]+)\s*]'

or:

  RawConfigParser.SECTRE = re.compile(r'[\*(?P<header>[^]]+)\s*]'

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue11027>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to