[Python-checkins] CVS: python/dist/src/Lib ConfigParser.py,1.20,1.21
Thomas Wouters
python-dev@python.org
2000年7月20日 22:20:01 -0700
- Previous message: [Python-checkins] CVS: python/nondist/peps pep2html.py,1.1,1.2
- Next message: [Python-checkins] CVS: python/dist/src/Modules _codecsmodule.c,2.3,2.4 _cursesmodule.c,2.31,2.32 _localemodule.c,2.12,2.13 _sre.c,2.26,2.27 _tkinter.c,1.107,1.108 almodule.c,1.29,1.30 arraymodule.c,2.48,2.49 audioop.c,1.39,1.40 binascii.c,2.21,2.22 cdmodule.c,1.22,1.23 clmodule.c,2.22,2.23 cmathmodule.c,2.15,2.16 cryptmodule.c,2.7,2.8 dlmodule.c,2.10,2.11 errnomodule.c,2.12,2.13 fcntlmodule.c,2.22,2.23 flmodule.c,1.42,1.43 fmmodule.c,1.15,1.16 getbuildinfo.c,2.5,2.6 getpath.c,1.27,1.28 glmodule.c,2.7,2.8 grpmodule.c,2.12,2.13 imageop.c,2.23,2.24 imgfile.c,1.26,1.27 linuxaudiodev.c,2.4,2.5 mathmodule.c,2.50,2.51 md5module.c,2.19,2.20 mpzmodule.c,2.30,2.31 newmodule.c,2.24,2.25 nismodule.c,2.18,2.19 operator.c,2.15,2.16 pcremodule.c,2.22,2.23 posixmodule.c,2.156,2.157 pwdmodule.c,1.20,1.21 readline.c,2.22,2.23 regexmodule.c,1.38,1.39 regexpr.c,1.32,1.33 resource.c,2.14,2.15 rgbimgmodule.c,2.21,2.22 rotormodule.c,2.27,2.28 selectmodule.c,2.38,2.39 sgimodule.c,1.14,1.15 shamodule.c,2.7,2!
.8 signalmodule.c,2.46,2.47 socketmodule.c,1.117,1.118 soundex.c,2.7,2.8 stropmodule.c,2.69,2.70 structmodule.c,2.35,2.36 sunaudiodev.c,1.21,1.22 svmodule.c,2.15,2.16 syslogmodule.c,2.15,2.16 tclNotify.c,2.2,2.3 termios.c,2.12,2.13 threadmodule.c,2.34,2.35 timemodule.c,2.91,2.92 timingmodule.c,2.6,2.7 unicodedata.c,2.2,2.3 xxmodule.c,2.19,2.20 zlibmodule.c,2.33,2.34
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
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):
- Previous message: [Python-checkins] CVS: python/nondist/peps pep2html.py,1.1,1.2
- Next message: [Python-checkins] CVS: python/dist/src/Modules _codecsmodule.c,2.3,2.4 _cursesmodule.c,2.31,2.32 _localemodule.c,2.12,2.13 _sre.c,2.26,2.27 _tkinter.c,1.107,1.108 almodule.c,1.29,1.30 arraymodule.c,2.48,2.49 audioop.c,1.39,1.40 binascii.c,2.21,2.22 cdmodule.c,1.22,1.23 clmodule.c,2.22,2.23 cmathmodule.c,2.15,2.16 cryptmodule.c,2.7,2.8 dlmodule.c,2.10,2.11 errnomodule.c,2.12,2.13 fcntlmodule.c,2.22,2.23 flmodule.c,1.42,1.43 fmmodule.c,1.15,1.16 getbuildinfo.c,2.5,2.6 getpath.c,1.27,1.28 glmodule.c,2.7,2.8 grpmodule.c,2.12,2.13 imageop.c,2.23,2.24 imgfile.c,1.26,1.27 linuxaudiodev.c,2.4,2.5 mathmodule.c,2.50,2.51 md5module.c,2.19,2.20 mpzmodule.c,2.30,2.31 newmodule.c,2.24,2.25 nismodule.c,2.18,2.19 operator.c,2.15,2.16 pcremodule.c,2.22,2.23 posixmodule.c,2.156,2.157 pwdmodule.c,1.20,1.21 readline.c,2.22,2.23 regexmodule.c,1.38,1.39 regexpr.c,1.32,1.33 resource.c,2.14,2.15 rgbimgmodule.c,2.21,2.22 rotormodule.c,2.27,2.28 selectmodule.c,2.38,2.39 sgimodule.c,1.14,1.15 shamodule.c,2.7,2!
.8 signalmodule.c,2.46,2.47 socketmodule.c,1.117,1.118 soundex.c,2.7,2.8 stropmodule.c,2.69,2.70 structmodule.c,2.35,2.36 sunaudiodev.c,1.21,1.22 svmodule.c,2.15,2.16 syslogmodule.c,2.15,2.16 tclNotify.c,2.2,2.3 termios.c,2.12,2.13 threadmodule.c,2.34,2.35 timemodule.c,2.91,2.92 timingmodule.c,2.6,2.7 unicodedata.c,2.2,2.3 xxmodule.c,2.19,2.20 zlibmodule.c,2.33,2.34
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]