Convert a pile of obvious "yes/no" functions to return bool.

This commit is contained in:
Tim Peters 2002-04-04 22:55:58 +00:00
parent 2f486b7fa6
commit bc0e910826
34 changed files with 117 additions and 122 deletions

View file

@ -374,9 +374,9 @@ class ConfigParser:
"""Remove a file section."""
if self.__sections.has_key(section):
del self.__sections[section]
return 1
return True
else:
return 0
return False
#
# Regular expressions for parsing section headers and options. Note a