[Python-checkins] CVS: python/dist/src/Lib ConfigParser.py,1.20,1.21

Thomas Wouters python-dev@python.org
Thu, 20 Jul 2000 22:20:01 -0700


Update of /cvsroot/python/python/dist/src/Lib
In directory slayer.i.sourceforge.net:/tmp/cvs-serv30737/Lib

Modified Files:
	ConfigParser.py 
Log Message:

Small fixes by Petru Paler (patch #100946) checked in with esr's approval.



Index: ConfigParser.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/ConfigParser.py,v
retrieving revision 1.20
retrieving revision 1.21
diff -C2 -r1.20 -r1.21
*** ConfigParser.py	2000/07/14 14:28:22	1.20
--- ConfigParser.py	2000/07/21 05:19:59	1.21
***************
*** 338,342 ****
              fp.write("\n")
  
!     def remove_option(section, option):
          """Remove an option."""
          if not section or section == "DEFAULT":
--- 338,342 ----
              fp.write("\n")
  
!     def remove_option(self, section, option):
          """Remove an option."""
          if not section or section == "DEFAULT":
***************
*** 352,356 ****
          return existed
  
!     def remove_section(section):
          """Remove a file section."""
          if self.__sections.has_key(section):
--- 352,356 ----
          return existed
  
!     def remove_section(self, section):
          """Remove a file section."""
          if self.__sections.has_key(section):